/*! For license information please see main.c502a7e6.js.LICENSE.txt */
!function (e) {
  function t(t) {
    for (var n, i, o = t[0], a = t[1], l = 0, s = []; l < o.length; l++) i = o[l], Object.prototype.hasOwnProperty.call(r, i) && r[i] && s.push(r[i][0]), r[i] = 0;
    for (n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n]);
    for (u && u(t); s.length;) s.shift()()
  }

  var n = {}, r = { 0: 0 };

  function i(t) {
    if (n[t]) return n[t].exports;
    var r = n[t] = { i: t, l: !1, exports: {} };
    return e[t].call(r.exports, r, r.exports, i), r.l = !0, r.exports
  }

  i.e = function (e) {
    var t = [], n = r[e];
    if (0 !== n) if (n) t.push(n[2]); else {
      var o = new Promise((function (t, i) {
        n = r[e] = [t, i]
      }));
      t.push(n[2] = o);
      var a, l = document.createElement("script");
      l.charset = "utf-8", l.timeout = 120, i.nc && l.setAttribute("nonce", i.nc), l.src = function (e) {
        return i.p + "static/js/" + ({}[e] || e) + "." + { 1: "d8cd4fa2" }[e] + ".chunk.js"
      }(e);
      var u = new Error;
      a = function (t) {
        l.onerror = l.onload = null, clearTimeout(s);
        var n = r[e];
        if (0 !== n) {
          if (n) {
            var i = t && ("load" === t.type ? "missing" : t.type), o = t && t.target && t.target.src;
            u.message = "Loading chunk " + e + " failed.\n(" + i + ": " + o + ")", u.name = "ChunkLoadError", u.type = i, u.request = o, n[1](u)
          }
          r[e] = void 0
        }
      };
      var s = setTimeout((function () {
        a({ type: "timeout", target: l })
      }), 12e4);
      l.onerror = l.onload = a, document.head.appendChild(l)
    }
    return Promise.all(t)
  }, i.m = e, i.c = n, i.d = function (e, t, n) {
    i.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n })
  }, i.r = function (e) {
    "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "u", { value: !0 })
  }, i.t = function (e, t) {
    if (1 & t && (e = i(e)), 8 & t) return e;
    if (4 & t && "object" == typeof e && e && e.u) return e;
    var n = Object.create(null);
    if (i.r(n), Object.defineProperty(n, "default", {
      enumerable: !0,
      value: e
    }), 2 & t && "string" != typeof e) for (var r in e) i.d(n, r, function (t) {
      return e[t]
    }.bind(null, r));
    return n
  }, i.n = function (e) {
    var t = e && e.u ? function () {
      return e.default
    } : function () {
      return e
    };
    return i.d(t, "a", t), t
  }, i.o = function (e, t) {
    return Object.prototype.hasOwnProperty.call(e, t)
  }, i.p = "/", i.oe = function (e) {
    throw console.error(e), e
  };
  var o = this["webpackJsonpscre-online"] = this["webpackJsonpscre-online"] || [], a = o.push.bind(o);
  o.push = t, o = o.slice();
  for (var l = 0; l < o.length; l++) t(o[l]);
  var u = a;
  i(i.s = 43)
}([function (e, t, n) {
  "use strict";
  e.exports = n(19)
}, function (e, t, n) {
  "use strict";
  e.exports = n(18)
}, function (e, t, n) {
  "use strict";

  function r(e, t) {
    e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t
  }

  n.d(t, "a", (function () {
    return r
  }))
}, function (e, t, n) {
  "use strict";
  Object.defineProperty(t, "u", { value: !0 });
  var r = n(13), i = n(15), o = n(10), a = n(30), l = n(31);

  function u(e) {
    return e.reduce((function (e, n) {
      return "b" !== n.type || "SimpleBlock" !== n.name ? e : t.ebmlBlock(n.data).frames.some((function (e) {
        return "9d012a" === e.slice(3, 6).toString("hex")
      })) ? e.concat(n) : e
    }), [])
  }

  function s(e) {
    var n = c("VP8 ", e);
    return c("RIFF", m([new t.Buffer("WEBP", "ascii"), n]))
  }

  function c(e, n) {
    var r = new t.Buffer(4);
    return r.writeUInt32LE(n.byteLength, 0), m([new t.Buffer(e.substr(0, 4), "ascii"), r, n, new t.Buffer(n.byteLength % 2 == 0 ? 0 : 1)])
  }

  function f(e, t) {
    for (var n = -1, r = 0; r < t.length; r++) {
      var i = t[r];
      if (i.name === e) {
        if ("m" !== i.type) return void t.splice(r, 1);
        if (i.isEnd) {
          if (-1 == n) throw new Error("Detected " + e + " closing element before finding the start");
          return void t.splice(n, r - n + 1)
        }
        n = r
      }
    }
  }

  function d(e, t) {
    for (var n = [], r = -1, i = 0; i < t.length; i++) {
      var o = t[i];
      if (o.name === e) {
        if ("m" !== o.type) {
          n.push(t[i]);
          break
        }
        if (o.isEnd) {
          if (-1 == r) throw new Error("Detected " + e + " closing element before finding the start");
          n = t.slice(r, i + 1);
          break
        }
        r = i
      }
    }
    return n
  }

  function h(e) {
    var t = new i.default;
    return e.reduce((function (e, n) {
      return e.concat(t.encode([n]))
    }), []).reduce((function (e, t) {
      return e + t.byteLength
    }), 0)
  }

  function p(e, n, r) {
    var i = r.duration, o = r.clusterPtrs, a = r.cues, l = e.slice(0);
    if ("number" == typeof i) {
      var u = !1;
      l.forEach((function (e) {
        "f" === e.type && "Duration" === e.name && (u = !0, e.data = y(i, 8))
      })), u || v(l, "Info", [{ name: "Duration", type: "f", data: y(i, 8) }])
    }
    Array.isArray(a) && v(l, "Cues", function (e, t) {
      var n = [];
      return e.forEach((function (e) {
        var r = e.CueTrack, i = e.CueClusterPosition, o = e.CueTime;
        n.push({ name: "CuePoint", type: "m", isEnd: !1 }), n.push({
          name: "CueTime",
          type: "u",
          data: b(o)
        }), n.push({ name: "CueTrackPositions", type: "m", isEnd: !1 }), n.push({
          name: "CueTrack",
          type: "u",
          data: b(r)
        }), n.push({ name: "CueClusterPosition", type: "u", data: b(i + t) }), n.push({
          name: "CueTrackPositions",
          type: "m",
          isEnd: !0
        }), n.push({ name: "CuePoint", type: "m", isEnd: !0 })
      })), n
    }(a, n));
    var s = [];
    return Array.isArray(o) && (console.warn("append cluster pointers to seekhead is deprecated. please use cues"), s = function (e, n) {
      var r = [];
      return e.forEach((function (e) {
        r.push({ name: "Seek", type: "m", isEnd: !1 }), r.push({
          name: "SeekID",
          type: "b",
          data: new t.Buffer([31, 67, 182, 117])
        }), r.push({ name: "SeekPosition", type: "u", data: b(e + n) }), r.push({
          name: "Seek",
          type: "m",
          isEnd: !0
        })
      })), r
    }(o, n)), v(l, "SeekHead", s, !0), l
  }

  function v(e, t, n, r) {
    void 0 === r && (r = !1);
    for (var i = -1, o = 0; o < e.length; o++) {
      var a = e[o];
      if ("m" === a.type && a.name === t && !1 === a.isEnd) {
        i = o;
        break
      }
    }
    i >= 0 ? Array.prototype.splice.apply(e, [i + 1, 0].concat(n)) : r ? [].concat([{
      name: t,
      type: "m",
      isEnd: !1
    }], n, [{ name: t, type: "m", isEnd: !0 }]).reverse().forEach((function (t) {
      e.unshift(t)
    })) : (e.push({ name: t, type: "m", isEnd: !1 }), n.forEach((function (t) {
      e.push(t)
    })), e.push({ name: t, type: "m", isEnd: !0 }))
  }

  function m(e) {
    for (var n = 0, r = 0; n < e.length; ++n) r += e[n].length;
    var i = t.Buffer.allocUnsafe(r), o = 0;
    for (n = 0; n < e.length; ++n) {
      var a = e[n];
      a.copy(i, o), o += a.length
    }
    return i
  }

  function b(e) {
    for (var n = 1; e >= Math.pow(2, 8 * n); n++);
    if (n >= 7) return console.warn("7bit or more bigger uint not supported."), new r.Uint64BE(e).toBuffer();
    var i = new t.Buffer(n);
    return i.writeUIntBE(e, 0, n), i
  }

  function g(e) {
    for (var n = 1; e >= Math.pow(2, 8 * n); n++);
    if (n >= 7) return console.warn("7bit or more bigger uint not supported."), new r.Int64BE(e).toBuffer();
    var i = new t.Buffer(n);
    return i.writeIntBE(e, 0, n), i
  }

  function y(e, n) {
    var r;
    if (void 0 === n && (n = 8), 8 === n) return (r = new t.Buffer(8)).writeDoubleBE(e, 0), r;
    if (4 === n) return (r = new t.Buffer(4)).writeFloatBE(e, 0), r;
    throw new Error("float type bits must 4bytes or 8bytes")
  }

  t.Buffer = o.Buffer, t.readVint = a.readVint, t.writeVint = a.writeVint, t.ebmlBlock = l, t.readBlock = function (e) {
    return t.ebmlBlock(new t.Buffer(e))
  }, t.encodeTag = function (e, n, r) {
    return void 0 === r && (r = !1), m([e, r ? new t.Buffer("01ffffffffffffff", "hex") : t.writeVint(n.length), n])
  }, t.WebPFrameFilter = function (e) {
    return u(e).reduce((function (e, n) {
      return t.ebmlBlock(n.data).frames.reduce((function (e, t) {
        var n = s(t), r = new Blob([n], { type: "image/webp" });
        return e.concat(r)
      }), e)
    }), [])
  }, t.WebPBlockFilter = u, t.VP8BitStreamToRiffWebPBuffer = s, t.createRIFFChunk = c, t.makeMetadataSeekable = function (e, n, r) {
    var o = d("EBML", e), a = h(o) + 12, l = e[e.length - 1].dataEnd - a, u = d("Info", e);
    f("Duration", u), u.splice(1, 0, { name: "Duration", type: "f", data: y(n, 8) });
    for (var s = h(u), c = d("Tracks", e), p = h(c), v = 47, m = [], g = 5 + 15 * r.length, w = [], k = -1, x = function (e) {
      var n = v, i = n + s, o = i + p, u = o + g - l;
      if ((m = []).push({ name: "SeekHead", type: "m", isEnd: !1 }), m.push({
        name: "Seek",
        type: "m",
        isEnd: !1
      }), m.push({
        name: "SeekID",
        type: "b",
        data: new t.Buffer([21, 73, 169, 102])
      }), m.push({ name: "SeekPosition", type: "u", data: b(n) }), m.push({
        name: "Seek",
        type: "m",
        isEnd: !0
      }), m.push({ name: "Seek", type: "m", isEnd: !1 }), m.push({
        name: "SeekID",
        type: "b",
        data: new t.Buffer([22, 84, 174, 107])
      }), m.push({ name: "SeekPosition", type: "u", data: b(i) }), m.push({
        name: "Seek",
        type: "m",
        isEnd: !0
      }), m.push({ name: "Seek", type: "m", isEnd: !1 }), m.push({
        name: "SeekID",
        type: "b",
        data: new t.Buffer([28, 83, 187, 107])
      }), m.push({ name: "SeekPosition", type: "u", data: b(o) }), m.push({
        name: "Seek",
        type: "m",
        isEnd: !0
      }), m.push({ name: "SeekHead", type: "m", isEnd: !0 }), v = h(m), (w = []).push({
        name: "Cues",
        type: "m",
        isEnd: !1
      }), r.forEach((function (e) {
        var t = e.CueTrack, n = e.CueClusterPosition, r = e.CueTime;
        w.push({ name: "CuePoint", type: "m", isEnd: !1 }), w.push({
          name: "CueTime",
          type: "u",
          data: b(r)
        }), w.push({ name: "CueTrackPositions", type: "m", isEnd: !1 }), w.push({
          name: "CueTrack",
          type: "u",
          data: b(t)
        }), n -= a, n += u, w.push({
          name: "CueClusterPosition",
          type: "u",
          data: b(n)
        }), w.push({ name: "CueTrackPositions", type: "m", isEnd: !0 }), w.push({
          name: "CuePoint",
          type: "m",
          isEnd: !0
        })
      })), w.push({ name: "Cues", type: "m", isEnd: !0 }), g = h(w), k === u) return "break";
      if (k = u, 9 === e) throw new Error("Failed to converge to a stable metadata size")
    }, C = 0; C < 10; C++) {
      if ("break" === x(C)) break
    }
    var S = [].concat.apply([], [o, { name: "Segment", type: "m", isEnd: !1, unknownSize: !0 }, m, u, c, w]);
    return (new i.default).encode(S)
  }, t.removeElement = f, t.extractElement = d, t.putRefinedMetaData = function (e, n) {
    Array.isArray(n.cueInfos) && !Array.isArray(n.cues) && (console.warn("putRefinedMetaData: info.cueInfos property is deprecated. please use info.cues"), n.cues = n.cueInfos);
    for (var r = [], o = [], a = 0; a < e.length; a++) {
      var l = e[a];
      if ("m" === l.type && "Segment" === l.name) {
        if (r = e.slice(0, a), o = e.slice(a), l.unknownSize) {
          o.shift();
          break
        }
        throw new Error("this metadata is not streaming webm file")
      }
    }
    if (!(o[o.length - 1].dataEnd > 0)) throw new Error("metadata dataEnd has wrong number");
    var u, s = o[o.length - 1].dataEnd, c = r[r.length - 1].dataEnd, f = (new i.default).encode(r).byteLength - c,
      d = s - o[0].tagStart, h = (o[0].tagStart, o[0].tagStart, new t.Buffer([24, 83, 128, 103])),
      v = new t.Buffer("01ffffffffffffff", "hex"), m = h.byteLength + v.byteLength, b = d;
    for (u = 1; u < 20; u++) {
      var g = p(o, f + (c + m + b - s), n), y = (new i.default).encode(g).byteLength;
      if (y === b) return (new i.default).encode([].concat(r, [{
        type: "m",
        name: "Segment",
        isEnd: !1,
        unknownSize: !0
      }], g));
      b = y
    }
    throw new Error("unable to refine metadata, stable size could not be found in " + u + " iterations!")
  }, t.concat = m, t.encodeValueToBuffer = function (e) {
    var n = new t.Buffer(0);
    if ("m" === e.type) return e;
    switch (e.type) {
      case "u":
        n = b(e.value);
        break;
      case "i":
        n = g(e.value);
        break;
      case "f":
        n = y(e.value);
        break;
      case "s":
        n = new t.Buffer(e.value, "ascii");
        break;
      case "8":
        n = new t.Buffer(e.value, "utf8");
        break;
      case "b":
        n = e.value;
        break;
      case "d":
        n = new r.Int64BE(e.value.getTime().toString()).toBuffer()
    }
    return Object.assign({}, e, { data: n })
  }, t.createUIntBuffer = b, t.createIntBuffer = g, t.createFloatBuffer = y, t.convertEBMLDateToJSDate = function (e) {
    return e instanceof Date ? e : new Date(new Date("2001-01-01T00:00:00.000Z").getTime() + Number(e) / 1e3 / 1e3)
  }
}, function (e, t, n) {
  "use strict";
  t.a = function (e) {
    var t = {};
    return function (n) {
      return void 0 === t[n] && (t[n] = e(n)), t[n]
    }
  }
}, function (e, t, n) {
  "use strict";
  var r = n(24), i = {
    childContextTypes: !0,
    contextType: !0,
    contextTypes: !0,
    defaultProps: !0,
    displayName: !0,
    getDefaultProps: !0,
    getDerivedStateFromError: !0,
    getDerivedStateFromProps: !0,
    mixins: !0,
    propTypes: !0,
    type: !0
  }, o = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 },
    a = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, l = {};

  function u(e) {
    return r.isMemo(e) ? a : l[e.$$typeof] || i
  }

  l[r.ForwardRef] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, l[r.Memo] = a;
  var s = Object.defineProperty, c = Object.getOwnPropertyNames, f = Object.getOwnPropertySymbols,
    d = Object.getOwnPropertyDescriptor, h = Object.getPrototypeOf, p = Object.prototype;
  e.exports = function e(t, n, r) {
    if ("string" != typeof n) {
      if (p) {
        var i = h(n);
        i && i !== p && e(t, i, r)
      }
      var a = c(n);
      f && (a = a.concat(f(n)));
      for (var l = u(t), v = u(n), m = 0; m < a.length; ++m) {
        var b = a[m];
        if (!(o[b] || r && r[b] || v && v[b] || l && l[b])) {
          var g = d(n, b);
          try {
            s(t, b, g)
          } catch (e) {
          }
        }
      }
    }
    return t
  }
}, function (e, t, n) {
  e.exports = n(38)()
}, function (e, t, n) {
  "use strict";
  Object.defineProperty(t, "u", { value: !0 });
  var r = n(26);
  t.Decoder = r.default;
  var i = n(15);
  t.Encoder = i.default;
  var o = n(34);
  t.Reader = o.default;
  var a = n(3);
  t.tools = a;
  var l = n(36).version;
  t.version = l
}, , function (e, t, n) {
  "use strict";
  var r = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty,
    o = Object.prototype.propertyIsEnumerable;

  function a(e) {
    if (null == e) throw new TypeError("Object.assign cannot be called with null or undefined");
    return Object(e)
  }

  e.exports = function () {
    try {
      if (!Object.assign) return !1;
      var e = new String("abc");
      if (e[5] = "de", "5" === Object.getOwnPropertyNames(e)[0]) return !1;
      for (var t = {}, n = 0; n < 10; n++) t["_" + String.fromCharCode(n)] = n;
      if ("0123456789" !== Object.getOwnPropertyNames(t).map((function (e) {
        return t[e]
      })).join("")) return !1;
      var r = {};
      return "abcdefghijklmnopqrst".split("").forEach((function (e) {
        r[e] = e
      })), "abcdefghijklmnopqrst" === Object.keys(Object.assign({}, r)).join("")
    } catch (e) {
      return !1
    }
  }() ? Object.assign : function (e, t) {
    for (var n, l, u = a(e), s = 1; s < arguments.length; s++) {
      for (var c in n = Object(arguments[s])) i.call(n, c) && (u[c] = n[c]);
      if (r) {
        l = r(n);
        for (var f = 0; f < l.length; f++) o.call(n, l[f]) && (u[l[f]] = n[l[f]])
      }
    }
    return u
  }
}, function (e, t, n) {
  "use strict";
  (function (e) {
    var r = n(27), i = n(28), o = n(29);

    function a() {
      return u.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823
    }

    function l(e, t) {
      if (a() < t) throw new RangeError("Invalid typed array length");
      return u.TYPED_ARRAY_SUPPORT ? (e = new Uint8Array(t)).__proto__ = u.prototype : (null === e && (e = new u(t)), e.length = t), e
    }

    function u(e, t, n) {
      if (!(u.TYPED_ARRAY_SUPPORT || this instanceof u)) return new u(e, t, n);
      if ("number" == typeof e) {
        if ("string" == typeof t) throw new Error("If encoding is specified then the first argument must be a string");
        return f(this, e)
      }
      return s(this, e, t, n)
    }

    function s(e, t, n, r) {
      if ("number" == typeof t) throw new TypeError('"value" argument must not be a number');
      return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer ? function (e, t, n, r) {
        if (t.byteLength, n < 0 || t.byteLength < n) throw new RangeError("'offset' is out of bounds");
        if (t.byteLength < n + (r || 0)) throw new RangeError("'length' is out of bounds");
        t = void 0 === n && void 0 === r ? new Uint8Array(t) : void 0 === r ? new Uint8Array(t, n) : new Uint8Array(t, n, r);
        u.TYPED_ARRAY_SUPPORT ? (e = t).__proto__ = u.prototype : e = d(e, t);
        return e
      }(e, t, n, r) : "string" == typeof t ? function (e, t, n) {
        "string" == typeof n && "" !== n || (n = "utf8");
        if (!u.isEncoding(n)) throw new TypeError('"encoding" must be a valid string encoding');
        var r = 0 | p(t, n), i = (e = l(e, r)).write(t, n);
        i !== r && (e = e.slice(0, i));
        return e
      }(e, t, n) : function (e, t) {
        if (u.isBuffer(t)) {
          var n = 0 | h(t.length);
          return 0 === (e = l(e, n)).length || t.copy(e, 0, 0, n), e
        }
        if (t) {
          if ("undefined" != typeof ArrayBuffer && t.buffer instanceof ArrayBuffer || "length" in t) return "number" != typeof t.length || (r = t.length) != r ? l(e, 0) : d(e, t);
          if ("Buffer" === t.type && o(t.data)) return d(e, t.data)
        }
        var r;
        throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")
      }(e, t)
    }

    function c(e) {
      if ("number" != typeof e) throw new TypeError('"size" argument must be a number');
      if (e < 0) throw new RangeError('"size" argument must not be negative')
    }

    function f(e, t) {
      if (c(t), e = l(e, t < 0 ? 0 : 0 | h(t)), !u.TYPED_ARRAY_SUPPORT) for (var n = 0; n < t; ++n) e[n] = 0;
      return e
    }

    function d(e, t) {
      var n = t.length < 0 ? 0 : 0 | h(t.length);
      e = l(e, n);
      for (var r = 0; r < n; r += 1) e[r] = 255 & t[r];
      return e
    }

    function h(e) {
      if (e >= a()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + a().toString(16) + " bytes");
      return 0 | e
    }

    function p(e, t) {
      if (u.isBuffer(e)) return e.length;
      if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(e) || e instanceof ArrayBuffer)) return e.byteLength;
      "string" != typeof e && (e = "" + e);
      var n = e.length;
      if (0 === n) return 0;
      for (var r = !1; ;) switch (t) {
        case "ascii":
        case "latin1":
        case "binary":
          return n;
        case "utf8":
        case "utf-8":
        case void 0:
          return U(e).length;
        case "ucs2":
        case "ucs-2":
        case "utf16le":
        case "utf-16le":
          return 2 * n;
        case "hex":
          return n >>> 1;
        case "base64":
          return V(e).length;
        default:
          if (r) return U(e).length;
          t = ("" + t).toLowerCase(), r = !0
      }
    }

    function v(e, t, n) {
      var r = !1;
      if ((void 0 === t || t < 0) && (t = 0), t > this.length) return "";
      if ((void 0 === n || n > this.length) && (n = this.length), n <= 0) return "";
      if ((n >>>= 0) <= (t >>>= 0)) return "";
      for (e || (e = "utf8"); ;) switch (e) {
        case "hex":
          return D(this, t, n);
        case "utf8":
        case "utf-8":
          return T(this, t, n);
        case "ascii":
          return O(this, t, n);
        case "latin1":
        case "binary":
          return j(this, t, n);
        case "base64":
          return E(this, t, n);
        case "ucs2":
        case "ucs-2":
        case "utf16le":
        case "utf-16le":
          return L(this, t, n);
        default:
          if (r) throw new TypeError("Unknown encoding: " + e);
          e = (e + "").toLowerCase(), r = !0
      }
    }

    function m(e, t, n) {
      var r = e[t];
      e[t] = e[n], e[n] = r
    }

    function b(e, t, n, r, i) {
      if (0 === e.length) return -1;
      if ("string" == typeof n ? (r = n, n = 0) : n > 2147483647 ? n = 2147483647 : n < -2147483648 && (n = -2147483648), n = +n, isNaN(n) && (n = i ? 0 : e.length - 1), n < 0 && (n = e.length + n), n >= e.length) {
        if (i) return -1;
        n = e.length - 1
      } else if (n < 0) {
        if (!i) return -1;
        n = 0
      }
      if ("string" == typeof t && (t = u.from(t, r)), u.isBuffer(t)) return 0 === t.length ? -1 : g(e, t, n, r, i);
      if ("number" == typeof t) return t &= 255, u.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf ? i ? Uint8Array.prototype.indexOf.call(e, t, n) : Uint8Array.prototype.lastIndexOf.call(e, t, n) : g(e, [t], n, r, i);
      throw new TypeError("val must be string, number or Buffer")
    }

    function g(e, t, n, r, i) {
      var o, a = 1, l = e.length, u = t.length;
      if (void 0 !== r && ("ucs2" === (r = String(r).toLowerCase()) || "ucs-2" === r || "utf16le" === r || "utf-16le" === r)) {
        if (e.length < 2 || t.length < 2) return -1;
        a = 2, l /= 2, u /= 2, n /= 2
      }

      function s(e, t) {
        return 1 === a ? e[t] : e.readUInt16BE(t * a)
      }

      if (i) {
        var c = -1;
        for (o = n; o < l; o++) if (s(e, o) === s(t, -1 === c ? 0 : o - c)) {
          if (-1 === c && (c = o), o - c + 1 === u) return c * a
        } else -1 !== c && (o -= o - c), c = -1
      } else for (n + u > l && (n = l - u), o = n; o >= 0; o--) {
        for (var f = !0, d = 0; d < u; d++) if (s(e, o + d) !== s(t, d)) {
          f = !1;
          break
        }
        if (f) return o
      }
      return -1
    }

    function y(e, t, n, r) {
      n = Number(n) || 0;
      var i = e.length - n;
      r ? (r = Number(r)) > i && (r = i) : r = i;
      var o = t.length;
      if (o % 2 != 0) throw new TypeError("Invalid hex string");
      r > o / 2 && (r = o / 2);
      for (var a = 0; a < r; ++a) {
        var l = parseInt(t.substr(2 * a, 2), 16);
        if (isNaN(l)) return a;
        e[n + a] = l
      }
      return a
    }

    function w(e, t, n, r) {
      return H(U(t, e.length - n), e, n, r)
    }

    function k(e, t, n, r) {
      return H(function (e) {
        for (var t = [], n = 0; n < e.length; ++n) t.push(255 & e.charCodeAt(n));
        return t
      }(t), e, n, r)
    }

    function x(e, t, n, r) {
      return k(e, t, n, r)
    }

    function C(e, t, n, r) {
      return H(V(t), e, n, r)
    }

    function S(e, t, n, r) {
      return H(function (e, t) {
        for (var n, r, i, o = [], a = 0; a < e.length && !((t -= 2) < 0); ++a) r = (n = e.charCodeAt(a)) >> 8, i = n % 256, o.push(i), o.push(r);
        return o
      }(t, e.length - n), e, n, r)
    }

    function E(e, t, n) {
      return 0 === t && n === e.length ? r.fromByteArray(e) : r.fromByteArray(e.slice(t, n))
    }

    function T(e, t, n) {
      n = Math.min(e.length, n);
      for (var r = [], i = t; i < n;) {
        var o, a, l, u, s = e[i], c = null, f = s > 239 ? 4 : s > 223 ? 3 : s > 191 ? 2 : 1;
        if (i + f <= n) switch (f) {
          case 1:
            s < 128 && (c = s);
            break;
          case 2:
            128 == (192 & (o = e[i + 1])) && (u = (31 & s) << 6 | 63 & o) > 127 && (c = u);
            break;
          case 3:
            o = e[i + 1], a = e[i + 2], 128 == (192 & o) && 128 == (192 & a) && (u = (15 & s) << 12 | (63 & o) << 6 | 63 & a) > 2047 && (u < 55296 || u > 57343) && (c = u);
            break;
          case 4:
            o = e[i + 1], a = e[i + 2], l = e[i + 3], 128 == (192 & o) && 128 == (192 & a) && 128 == (192 & l) && (u = (15 & s) << 18 | (63 & o) << 12 | (63 & a) << 6 | 63 & l) > 65535 && u < 1114112 && (c = u)
        }
        null === c ? (c = 65533, f = 1) : c > 65535 && (c -= 65536, r.push(c >>> 10 & 1023 | 55296), c = 56320 | 1023 & c), r.push(c), i += f
      }
      return function (e) {
        var t = e.length;
        if (t <= M) return String.fromCharCode.apply(String, e);
        var n = "", r = 0;
        for (; r < t;) n += String.fromCharCode.apply(String, e.slice(r, r += M));
        return n
      }(r)
    }

    t.Buffer = u, t.SlowBuffer = function (e) {
      +e != e && (e = 0);
      return u.alloc(+e)
    }, t.INSPECT_MAX_BYTES = 50, u.TYPED_ARRAY_SUPPORT = void 0 !== e.TYPED_ARRAY_SUPPORT ? e.TYPED_ARRAY_SUPPORT : function () {
      try {
        var e = new Uint8Array(1);
        return e.__proto__ = {
          __proto__: Uint8Array.prototype, foo: function () {
            return 42
          }
        }, 42 === e.foo() && "function" == typeof e.subarray && 0 === e.subarray(1, 1).byteLength
      } catch (e) {
        return !1
      }
    }(), t.kMaxLength = a(), u.poolSize = 8192, u.h = function (e) {
      return e.__proto__ = u.prototype, e
    }, u.from = function (e, t, n) {
      return s(null, e, t, n)
    }, u.TYPED_ARRAY_SUPPORT && (u.prototype.__proto__ = Uint8Array.prototype, u.__proto__ = Uint8Array, "undefined" != typeof Symbol && Symbol.species && u[Symbol.species] === u && Object.defineProperty(u, Symbol.species, {
      value: null,
      configurable: !0
    })), u.alloc = function (e, t, n) {
      return function (e, t, n, r) {
        return c(t), t <= 0 ? l(e, t) : void 0 !== n ? "string" == typeof r ? l(e, t).fill(n, r) : l(e, t).fill(n) : l(e, t)
      }(null, e, t, n)
    }, u.allocUnsafe = function (e) {
      return f(null, e)
    }, u.allocUnsafeSlow = function (e) {
      return f(null, e)
    }, u.isBuffer = function (e) {
      return !(null == e || !e.v)
    }, u.compare = function (e, t) {
      if (!u.isBuffer(e) || !u.isBuffer(t)) throw new TypeError("Arguments must be Buffers");
      if (e === t) return 0;
      for (var n = e.length, r = t.length, i = 0, o = Math.min(n, r); i < o; ++i) if (e[i] !== t[i]) {
        n = e[i], r = t[i];
        break
      }
      return n < r ? -1 : r < n ? 1 : 0
    }, u.isEncoding = function (e) {
      switch (String(e).toLowerCase()) {
        case "hex":
        case "utf8":
        case "utf-8":
        case "ascii":
        case "latin1":
        case "binary":
        case "base64":
        case "ucs2":
        case "ucs-2":
        case "utf16le":
        case "utf-16le":
          return !0;
        default:
          return !1
      }
    }, u.concat = function (e, t) {
      if (!o(e)) throw new TypeError('"list" argument must be an Array of Buffers');
      if (0 === e.length) return u.alloc(0);
      var n;
      if (void 0 === t) for (t = 0, n = 0; n < e.length; ++n) t += e[n].length;
      var r = u.allocUnsafe(t), i = 0;
      for (n = 0; n < e.length; ++n) {
        var a = e[n];
        if (!u.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers');
        a.copy(r, i), i += a.length
      }
      return r
    }, u.byteLength = p, u.prototype.v = !0, u.prototype.swap16 = function () {
      var e = this.length;
      if (e % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits");
      for (var t = 0; t < e; t += 2) m(this, t, t + 1);
      return this
    }, u.prototype.swap32 = function () {
      var e = this.length;
      if (e % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits");
      for (var t = 0; t < e; t += 4) m(this, t, t + 3), m(this, t + 1, t + 2);
      return this
    }, u.prototype.swap64 = function () {
      var e = this.length;
      if (e % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits");
      for (var t = 0; t < e; t += 8) m(this, t, t + 7), m(this, t + 1, t + 6), m(this, t + 2, t + 5), m(this, t + 3, t + 4);
      return this
    }, u.prototype.toString = function () {
      var e = 0 | this.length;
      return 0 === e ? "" : 0 === arguments.length ? T(this, 0, e) : v.apply(this, arguments)
    }, u.prototype.equals = function (e) {
      if (!u.isBuffer(e)) throw new TypeError("Argument must be a Buffer");
      return this === e || 0 === u.compare(this, e)
    }, u.prototype.inspect = function () {
      var e = "", n = t.INSPECT_MAX_BYTES;
      return this.length > 0 && (e = this.toString("hex", 0, n).match(/.{2}/g).join(" "), this.length > n && (e += " ... ")), "<Buffer " + e + ">"
    }, u.prototype.compare = function (e, t, n, r, i) {
      if (!u.isBuffer(e)) throw new TypeError("Argument must be a Buffer");
      if (void 0 === t && (t = 0), void 0 === n && (n = e ? e.length : 0), void 0 === r && (r = 0), void 0 === i && (i = this.length), t < 0 || n > e.length || r < 0 || i > this.length) throw new RangeError("out of range index");
      if (r >= i && t >= n) return 0;
      if (r >= i) return -1;
      if (t >= n) return 1;
      if (this === e) return 0;
      for (var o = (i >>>= 0) - (r >>>= 0), a = (n >>>= 0) - (t >>>= 0), l = Math.min(o, a), s = this.slice(r, i), c = e.slice(t, n), f = 0; f < l; ++f) if (s[f] !== c[f]) {
        o = s[f], a = c[f];
        break
      }
      return o < a ? -1 : a < o ? 1 : 0
    }, u.prototype.includes = function (e, t, n) {
      return -1 !== this.indexOf(e, t, n)
    }, u.prototype.indexOf = function (e, t, n) {
      return b(this, e, t, n, !0)
    }, u.prototype.lastIndexOf = function (e, t, n) {
      return b(this, e, t, n, !1)
    }, u.prototype.write = function (e, t, n, r) {
      if (void 0 === t) r = "utf8", n = this.length, t = 0; else if (void 0 === n && "string" == typeof t) r = t, n = this.length, t = 0; else {
        if (!isFinite(t)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
        t |= 0, isFinite(n) ? (n |= 0, void 0 === r && (r = "utf8")) : (r = n, n = void 0)
      }
      var i = this.length - t;
      if ((void 0 === n || n > i) && (n = i), e.length > 0 && (n < 0 || t < 0) || t > this.length) throw new RangeError("Attempt to write outside buffer bounds");
      r || (r = "utf8");
      for (var o = !1; ;) switch (r) {
        case "hex":
          return y(this, e, t, n);
        case "utf8":
        case "utf-8":
          return w(this, e, t, n);
        case "ascii":
          return k(this, e, t, n);
        case "latin1":
        case "binary":
          return x(this, e, t, n);
        case "base64":
          return C(this, e, t, n);
        case "ucs2":
        case "ucs-2":
        case "utf16le":
        case "utf-16le":
          return S(this, e, t, n);
        default:
          if (o) throw new TypeError("Unknown encoding: " + r);
          r = ("" + r).toLowerCase(), o = !0
      }
    }, u.prototype.toJSON = function () {
      return { type: "Buffer", data: Array.prototype.slice.call(this.g || this, 0) }
    };
    var M = 4096;

    function O(e, t, n) {
      var r = "";
      n = Math.min(e.length, n);
      for (var i = t; i < n; ++i) r += String.fromCharCode(127 & e[i]);
      return r
    }

    function j(e, t, n) {
      var r = "";
      n = Math.min(e.length, n);
      for (var i = t; i < n; ++i) r += String.fromCharCode(e[i]);
      return r
    }

    function D(e, t, n) {
      var r = e.length;
      (!t || t < 0) && (t = 0), (!n || n < 0 || n > r) && (n = r);
      for (var i = "", o = t; o < n; ++o) i += N(e[o]);
      return i
    }

    function L(e, t, n) {
      for (var r = e.slice(t, n), i = "", o = 0; o < r.length; o += 2) i += String.fromCharCode(r[o] + 256 * r[o + 1]);
      return i
    }

    function A(e, t, n) {
      if (e % 1 != 0 || e < 0) throw new RangeError("offset is not uint");
      if (e + t > n) throw new RangeError("Trying to access beyond buffer length")
    }

    function I(e, t, n, r, i, o) {
      if (!u.isBuffer(e)) throw new TypeError('"buffer" argument must be a Buffer instance');
      if (t > i || t < o) throw new RangeError('"value" argument is out of bounds');
      if (n + r > e.length) throw new RangeError("Index out of range")
    }

    function F(e, t, n, r) {
      t < 0 && (t = 65535 + t + 1);
      for (var i = 0, o = Math.min(e.length - n, 2); i < o; ++i) e[n + i] = (t & 255 << 8 * (r ? i : 1 - i)) >>> 8 * (r ? i : 1 - i)
    }

    function P(e, t, n, r) {
      t < 0 && (t = 4294967295 + t + 1);
      for (var i = 0, o = Math.min(e.length - n, 4); i < o; ++i) e[n + i] = t >>> 8 * (r ? i : 3 - i) & 255
    }

    function B(e, t, n, r, i, o) {
      if (n + r > e.length) throw new RangeError("Index out of range");
      if (n < 0) throw new RangeError("Index out of range")
    }

    function R(e, t, n, r, o) {
      return o || B(e, 0, n, 4), i.write(e, t, n, r, 23, 4), n + 4
    }

    function z(e, t, n, r, o) {
      return o || B(e, 0, n, 8), i.write(e, t, n, r, 52, 8), n + 8
    }

    u.prototype.slice = function (e, t) {
      var n, r = this.length;
      if ((e = ~~e) < 0 ? (e += r) < 0 && (e = 0) : e > r && (e = r), (t = void 0 === t ? r : ~~t) < 0 ? (t += r) < 0 && (t = 0) : t > r && (t = r), t < e && (t = e), u.TYPED_ARRAY_SUPPORT) (n = this.subarray(e, t)).__proto__ = u.prototype; else {
        var i = t - e;
        n = new u(i, void 0);
        for (var o = 0; o < i; ++o) n[o] = this[o + e]
      }
      return n
    }, u.prototype.readUIntLE = function (e, t, n) {
      e |= 0, t |= 0, n || A(e, t, this.length);
      for (var r = this[e], i = 1, o = 0; ++o < t && (i *= 256);) r += this[e + o] * i;
      return r
    }, u.prototype.readUIntBE = function (e, t, n) {
      e |= 0, t |= 0, n || A(e, t, this.length);
      for (var r = this[e + --t], i = 1; t > 0 && (i *= 256);) r += this[e + --t] * i;
      return r
    }, u.prototype.readUInt8 = function (e, t) {
      return t || A(e, 1, this.length), this[e]
    }, u.prototype.readUInt16LE = function (e, t) {
      return t || A(e, 2, this.length), this[e] | this[e + 1] << 8
    }, u.prototype.readUInt16BE = function (e, t) {
      return t || A(e, 2, this.length), this[e] << 8 | this[e + 1]
    }, u.prototype.readUInt32LE = function (e, t) {
      return t || A(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + 16777216 * this[e + 3]
    }, u.prototype.readUInt32BE = function (e, t) {
      return t || A(e, 4, this.length), 16777216 * this[e] + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3])
    }, u.prototype.readIntLE = function (e, t, n) {
      e |= 0, t |= 0, n || A(e, t, this.length);
      for (var r = this[e], i = 1, o = 0; ++o < t && (i *= 256);) r += this[e + o] * i;
      return r >= (i *= 128) && (r -= Math.pow(2, 8 * t)), r
    }, u.prototype.readIntBE = function (e, t, n) {
      e |= 0, t |= 0, n || A(e, t, this.length);
      for (var r = t, i = 1, o = this[e + --r]; r > 0 && (i *= 256);) o += this[e + --r] * i;
      return o >= (i *= 128) && (o -= Math.pow(2, 8 * t)), o
    }, u.prototype.readInt8 = function (e, t) {
      return t || A(e, 1, this.length), 128 & this[e] ? -1 * (255 - this[e] + 1) : this[e]
    }, u.prototype.readInt16LE = function (e, t) {
      t || A(e, 2, this.length);
      var n = this[e] | this[e + 1] << 8;
      return 32768 & n ? 4294901760 | n : n
    }, u.prototype.readInt16BE = function (e, t) {
      t || A(e, 2, this.length);
      var n = this[e + 1] | this[e] << 8;
      return 32768 & n ? 4294901760 | n : n
    }, u.prototype.readInt32LE = function (e, t) {
      return t || A(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24
    }, u.prototype.readInt32BE = function (e, t) {
      return t || A(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]
    }, u.prototype.readFloatLE = function (e, t) {
      return t || A(e, 4, this.length), i.read(this, e, !0, 23, 4)
    }, u.prototype.readFloatBE = function (e, t) {
      return t || A(e, 4, this.length), i.read(this, e, !1, 23, 4)
    }, u.prototype.readDoubleLE = function (e, t) {
      return t || A(e, 8, this.length), i.read(this, e, !0, 52, 8)
    }, u.prototype.readDoubleBE = function (e, t) {
      return t || A(e, 8, this.length), i.read(this, e, !1, 52, 8)
    }, u.prototype.writeUIntLE = function (e, t, n, r) {
      (e = +e, t |= 0, n |= 0, r) || I(this, e, t, n, Math.pow(2, 8 * n) - 1, 0);
      var i = 1, o = 0;
      for (this[t] = 255 & e; ++o < n && (i *= 256);) this[t + o] = e / i & 255;
      return t + n
    }, u.prototype.writeUIntBE = function (e, t, n, r) {
      (e = +e, t |= 0, n |= 0, r) || I(this, e, t, n, Math.pow(2, 8 * n) - 1, 0);
      var i = n - 1, o = 1;
      for (this[t + i] = 255 & e; --i >= 0 && (o *= 256);) this[t + i] = e / o & 255;
      return t + n
    }, u.prototype.writeUInt8 = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 1, 255, 0), u.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[t] = 255 & e, t + 1
    }, u.prototype.writeUInt16LE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 2, 65535, 0), u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : F(this, e, t, !0), t + 2
    }, u.prototype.writeUInt16BE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 2, 65535, 0), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : F(this, e, t, !1), t + 2
    }, u.prototype.writeUInt32LE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 4, 4294967295, 0), u.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = 255 & e) : P(this, e, t, !0), t + 4
    }, u.prototype.writeUInt32BE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 4, 4294967295, 0), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : P(this, e, t, !1), t + 4
    }, u.prototype.writeIntLE = function (e, t, n, r) {
      if (e = +e, t |= 0, !r) {
        var i = Math.pow(2, 8 * n - 1);
        I(this, e, t, n, i - 1, -i)
      }
      var o = 0, a = 1, l = 0;
      for (this[t] = 255 & e; ++o < n && (a *= 256);) e < 0 && 0 === l && 0 !== this[t + o - 1] && (l = 1), this[t + o] = (e / a >> 0) - l & 255;
      return t + n
    }, u.prototype.writeIntBE = function (e, t, n, r) {
      if (e = +e, t |= 0, !r) {
        var i = Math.pow(2, 8 * n - 1);
        I(this, e, t, n, i - 1, -i)
      }
      var o = n - 1, a = 1, l = 0;
      for (this[t + o] = 255 & e; --o >= 0 && (a *= 256);) e < 0 && 0 === l && 0 !== this[t + o + 1] && (l = 1), this[t + o] = (e / a >> 0) - l & 255;
      return t + n
    }, u.prototype.writeInt8 = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 1, 127, -128), u.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[t] = 255 & e, t + 1
    }, u.prototype.writeInt16LE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 2, 32767, -32768), u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8) : F(this, e, t, !0), t + 2
    }, u.prototype.writeInt16BE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 2, 32767, -32768), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = 255 & e) : F(this, e, t, !1), t + 2
    }, u.prototype.writeInt32LE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 4, 2147483647, -2147483648), u.TYPED_ARRAY_SUPPORT ? (this[t] = 255 & e, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24) : P(this, e, t, !0), t + 4
    }, u.prototype.writeInt32BE = function (e, t, n) {
      return e = +e, t |= 0, n || I(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), u.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = 255 & e) : P(this, e, t, !1), t + 4
    }, u.prototype.writeFloatLE = function (e, t, n) {
      return R(this, e, t, !0, n)
    }, u.prototype.writeFloatBE = function (e, t, n) {
      return R(this, e, t, !1, n)
    }, u.prototype.writeDoubleLE = function (e, t, n) {
      return z(this, e, t, !0, n)
    }, u.prototype.writeDoubleBE = function (e, t, n) {
      return z(this, e, t, !1, n)
    }, u.prototype.copy = function (e, t, n, r) {
      if (n || (n = 0), r || 0 === r || (r = this.length), t >= e.length && (t = e.length), t || (t = 0), r > 0 && r < n && (r = n), r === n) return 0;
      if (0 === e.length || 0 === this.length) return 0;
      if (t < 0) throw new RangeError("targetStart out of bounds");
      if (n < 0 || n >= this.length) throw new RangeError("sourceStart out of bounds");
      if (r < 0) throw new RangeError("sourceEnd out of bounds");
      r > this.length && (r = this.length), e.length - t < r - n && (r = e.length - t + n);
      var i, o = r - n;
      if (this === e && n < t && t < r) for (i = o - 1; i >= 0; --i) e[i + t] = this[i + n]; else if (o < 1e3 || !u.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) e[i + t] = this[i + n]; else Uint8Array.prototype.set.call(e, this.subarray(n, n + o), t);
      return o
    }, u.prototype.fill = function (e, t, n, r) {
      if ("string" == typeof e) {
        if ("string" == typeof t ? (r = t, t = 0, n = this.length) : "string" == typeof n && (r = n, n = this.length), 1 === e.length) {
          var i = e.charCodeAt(0);
          i < 256 && (e = i)
        }
        if (void 0 !== r && "string" != typeof r) throw new TypeError("encoding must be a string");
        if ("string" == typeof r && !u.isEncoding(r)) throw new TypeError("Unknown encoding: " + r)
      } else "number" == typeof e && (e &= 255);
      if (t < 0 || this.length < t || this.length < n) throw new RangeError("Out of range index");
      if (n <= t) return this;
      var o;
      if (t >>>= 0, n = void 0 === n ? this.length : n >>> 0, e || (e = 0), "number" == typeof e) for (o = t; o < n; ++o) this[o] = e; else {
        var a = u.isBuffer(e) ? e : U(new u(e, r).toString()), l = a.length;
        for (o = 0; o < n - t; ++o) this[o + t] = a[o % l]
      }
      return this
    };
    var _ = /[^+\/0-9A-Za-z-_]/g;

    function N(e) {
      return e < 16 ? "0" + e.toString(16) : e.toString(16)
    }

    function U(e, t) {
      var n;
      t = t || 1 / 0;
      for (var r = e.length, i = null, o = [], a = 0; a < r; ++a) {
        if ((n = e.charCodeAt(a)) > 55295 && n < 57344) {
          if (!i) {
            if (n > 56319) {
              (t -= 3) > -1 && o.push(239, 191, 189);
              continue
            }
            if (a + 1 === r) {
              (t -= 3) > -1 && o.push(239, 191, 189);
              continue
            }
            i = n;
            continue
          }
          if (n < 56320) {
            (t -= 3) > -1 && o.push(239, 191, 189), i = n;
            continue
          }
          n = 65536 + (i - 55296 << 10 | n - 56320)
        } else i && (t -= 3) > -1 && o.push(239, 191, 189);
        if (i = null, n < 128) {
          if ((t -= 1) < 0) break;
          o.push(n)
        } else if (n < 2048) {
          if ((t -= 2) < 0) break;
          o.push(n >> 6 | 192, 63 & n | 128)
        } else if (n < 65536) {
          if ((t -= 3) < 0) break;
          o.push(n >> 12 | 224, n >> 6 & 63 | 128, 63 & n | 128)
        } else {
          if (!(n < 1114112)) throw new Error("Invalid code point");
          if ((t -= 4) < 0) break;
          o.push(n >> 18 | 240, n >> 12 & 63 | 128, n >> 6 & 63 | 128, 63 & n | 128)
        }
      }
      return o
    }

    function V(e) {
      return r.toByteArray(function (e) {
        if ((e = function (e) {
          return e.trim ? e.trim() : e.replace(/^\s+|\s+$/g, "")
        }(e).replace(_, "")).length < 2) return "";
        for (; e.length % 4 != 0;) e += "=";
        return e
      }(e))
    }

    function H(e, t, n, r) {
      for (var i = 0; i < r && !(i + n >= t.length || i >= e.length); ++i) t[i + n] = e[i];
      return i
    }
  }).call(this, n(14))
}, function (e, t, n) {
  "use strict";
  (function (e) {
    var r = n(0), i = n.n(r), o = n(2), a = n(6), l = n.n(a), u = 1073741823,
      s = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : void 0 !== e ? e : {};

    function c(e) {
      var t = [];
      return {
        on: function (e) {
          t.push(e)
        }, off: function (e) {
          t = t.filter((function (t) {
            return t !== e
          }))
        }, get: function () {
          return e
        }, set: function (n, r) {
          e = n, t.forEach((function (t) {
            return t(e, r)
          }))
        }
      }
    }

    var f = i.a.createContext || function (e, t) {
      var n, i, a, f = "__create-react-context-" + ((s[a = "__global_unique_id__"] = (s[a] || 0) + 1) + "__"),
        d = function (e) {
          function n() {
            var t;
            return (t = e.apply(this, arguments) || this).emitter = c(t.props.value), t
          }

          Object(o.a)(n, e);
          var r = n.prototype;
          return r.getChildContext = function () {
            var e;
            return (e = {})[f] = this.emitter, e
          }, r.componentWillReceiveProps = function (e) {
            if (this.props.value !== e.value) {
              var n, r = this.props.value, i = e.value;
              ((o = r) === (a = i) ? 0 !== o || 1 / o == 1 / a : o != o && a != a) ? n = 0 : (n = "function" == typeof t ? t(r, i) : u, 0 !== (n |= 0) && this.emitter.set(e.value, n))
            }
            var o, a
          }, r.render = function () {
            return this.props.children
          }, n
        }(r.Component);
      d.childContextTypes = ((n = {})[f] = l.a.object.isRequired, n);
      var h = function (t) {
        function n() {
          var e;
          return (e = t.apply(this, arguments) || this).state = { value: e.getValue() }, e.onUpdate = function (t, n) {
            0 != ((0 | e.observedBits) & n) && e.setState({ value: e.getValue() })
          }, e
        }

        Object(o.a)(n, t);
        var r = n.prototype;
        return r.componentWillReceiveProps = function (e) {
          var t = e.observedBits;
          this.observedBits = null == t ? u : t
        }, r.componentDidMount = function () {
          this.context[f] && this.context[f].on(this.onUpdate);
          var e = this.props.observedBits;
          this.observedBits = null == e ? u : e
        }, r.componentWillUnmount = function () {
          this.context[f] && this.context[f].off(this.onUpdate)
        }, r.getValue = function () {
          return this.context[f] ? this.context[f].get() : e
        }, r.render = function () {
          return (e = this.props.children, Array.isArray(e) ? e[0] : e)(this.state.value);
          var e
        }, n
      }(r.Component);
      return h.contextTypes = ((i = {})[f] = l.a.object, i), { Provider: d, Consumer: h }
    };
    t.a = f
  }).call(this, n(14))
}, function (e, t, n) {
  var r = n(40);
  e.exports = h, e.exports.parse = o, e.exports.compile = function (e, t) {
    return l(o(e, t), t)
  }, e.exports.tokensToFunction = l, e.exports.tokensToRegExp = d;
  var i = new RegExp(["(\\\\.)", "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"), "g");

  function o(e, t) {
    for (var n, r = [], o = 0, a = 0, l = "", c = t && t.delimiter || "/"; null != (n = i.exec(e));) {
      var f = n[0], d = n[1], h = n.index;
      if (l += e.slice(a, h), a = h + f.length, d) l += d[1]; else {
        var p = e[a], v = n[2], m = n[3], b = n[4], g = n[5], y = n[6], w = n[7];
        l && (r.push(l), l = "");
        var k = null != v && null != p && p !== v, x = "+" === y || "*" === y, C = "?" === y || "*" === y,
          S = n[2] || c, E = b || g;
        r.push({
          name: m || o++,
          prefix: v || "",
          delimiter: S,
          optional: C,
          repeat: x,
          partial: k,
          asterisk: !!w,
          pattern: E ? s(E) : w ? ".*" : "[^" + u(S) + "]+?"
        })
      }
    }
    return a < e.length && (l += e.substr(a)), l && r.push(l), r
  }

  function a(e) {
    return encodeURI(e).replace(/[\/?#]/g, (function (e) {
      return "%" + e.charCodeAt(0).toString(16).toUpperCase()
    }))
  }

  function l(e, t) {
    for (var n = new Array(e.length), i = 0; i < e.length; i++) "object" == typeof e[i] && (n[i] = new RegExp("^(?:" + e[i].pattern + ")$", f(t)));
    return function (t, i) {
      for (var o = "", l = t || {}, u = (i || {}).pretty ? a : encodeURIComponent, s = 0; s < e.length; s++) {
        var c = e[s];
        if ("string" != typeof c) {
          var f, d = l[c.name];
          if (null == d) {
            if (c.optional) {
              c.partial && (o += c.prefix);
              continue
            }
            throw new TypeError('Expected "' + c.name + '" to be defined')
          }
          if (r(d)) {
            if (!c.repeat) throw new TypeError('Expected "' + c.name + '" to not repeat, but received `' + JSON.stringify(d) + "`");
            if (0 === d.length) {
              if (c.optional) continue;
              throw new TypeError('Expected "' + c.name + '" to not be empty')
            }
            for (var h = 0; h < d.length; h++) {
              if (f = u(d[h]), !n[s].test(f)) throw new TypeError('Expected all "' + c.name + '" to match "' + c.pattern + '", but received `' + JSON.stringify(f) + "`");
              o += (0 === h ? c.prefix : c.delimiter) + f
            }
          } else {
            if (f = c.asterisk ? encodeURI(d).replace(/[?#]/g, (function (e) {
              return "%" + e.charCodeAt(0).toString(16).toUpperCase()
            })) : u(d), !n[s].test(f)) throw new TypeError('Expected "' + c.name + '" to match "' + c.pattern + '", but received "' + f + '"');
            o += c.prefix + f
          }
        } else o += c
      }
      return o
    }
  }

  function u(e) {
    return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1")
  }

  function s(e) {
    return e.replace(/([=!:$\/()])/g, "\\$1")
  }

  function c(e, t) {
    return e.keys = t, e
  }

  function f(e) {
    return e && e.sensitive ? "" : "i"
  }

  function d(e, t, n) {
    r(t) || (n = t || n, t = []);
    for (var i = (n = n || {}).strict, o = !1 !== n.end, a = "", l = 0; l < e.length; l++) {
      var s = e[l];
      if ("string" == typeof s) a += u(s); else {
        var d = u(s.prefix), h = "(?:" + s.pattern + ")";
        t.push(s), s.repeat && (h += "(?:" + d + h + ")*"), a += h = s.optional ? s.partial ? d + "(" + h + ")?" : "(?:" + d + "(" + h + "))?" : d + "(" + h + ")"
      }
    }
    var p = u(n.delimiter || "/"), v = a.slice(-p.length) === p;
    return i || (a = (v ? a.slice(0, -p.length) : a) + "(?:" + p + "(?=$))?"), a += o ? "$" : i && v ? "" : "(?=" + p + "|$)", c(new RegExp("^" + a, f(n)), t)
  }

  function h(e, t, n) {
    return r(t) || (n = t || n, t = []), n = n || {}, e instanceof RegExp ? function (e, t) {
      var n = e.source.match(/\((?!\?)/g);
      if (n) for (var r = 0; r < n.length; r++) t.push({
        name: r,
        prefix: null,
        delimiter: null,
        optional: !1,
        repeat: !1,
        partial: !1,
        asterisk: !1,
        pattern: null
      });
      return c(e, t)
    }(e, t) : r(e) ? function (e, t, n) {
      for (var r = [], i = 0; i < e.length; i++) r.push(h(e[i], t, n).source);
      return c(new RegExp("(?:" + r.join("|") + ")", f(n)), t)
    }(e, t, n) : function (e, t, n) {
      return d(o(e, n), t, n)
    }(e, t, n)
  }
}, function (e, t, n) {
  (function (e) {
    !function (t) {
      var n, r = "undefined", i = r !== typeof e && e, o = r !== typeof Uint8Array && Uint8Array,
        a = r !== typeof ArrayBuffer && ArrayBuffer, l = [0, 0, 0, 0, 0, 0, 0, 0],
        u = Array.isArray || function (e) {
          return !!e && "[object Array]" == Object.prototype.toString.call(e)
        }, s = 4294967296;

      function c(e, u, c) {
        var k = u ? 0 : 4, x = u ? 4 : 0, C = u ? 0 : 3, S = u ? 1 : 2, E = u ? 2 : 1, T = u ? 3 : 0,
          M = u ? b : y, O = u ? g : w, j = A.prototype, D = "is" + e, L = "_" + D;
        return j.buffer = void 0, j.offset = 0, j[L] = !0, j.toNumber = I, j.toString = function (e) {
          var t = this.buffer, n = this.offset, r = P(t, n + k), i = P(t, n + x), o = "",
            a = !c && 2147483648 & r;
          a && (r = ~r, i = s - i);
          e = e || 10;
          for (; ;) {
            var l = r % e * s + i;
            if (r = Math.floor(r / e), i = Math.floor(l / e), o = (l % e).toString(e) + o, !r && !i) break
          }
          a && (o = "-" + o);
          return o
        }, j.toJSON = I, j.toArray = f, i && (j.toBuffer = d), o && (j.toArrayBuffer = h), A[D] = function (e) {
          return !(!e || !e[L])
        }, t[e] = A, A;

        function A(e, t, i, u) {
          return this instanceof A ? function (e, t, i, u, c) {
            o && a && (t instanceof a && (t = new o(t)), u instanceof a && (u = new o(u)));
            if (!(t || i || u || n)) return void (e.buffer = m(l, 0));
            if (!p(t, i)) {
              c = i, u = t, i = 0, t = new (n || Array)(8)
            }
            if (e.buffer = t, e.offset = i |= 0, r === typeof u) return;
            "string" == typeof u ? function (e, t, n, r) {
              var i = 0, o = n.length, a = 0, l = 0;
              "-" === n[0] && i++;
              var u = i;
              for (; i < o;) {
                var c = parseInt(n[i++], r);
                if (!(c >= 0)) break;
                l = l * r + c, a = a * r + Math.floor(l / s), l %= s
              }
              u && (a = ~a, l ? l = s - l : a++);
              F(e, t + k, a), F(e, t + x, l)
            }(t, i, u, c || 10) : p(u, c) ? v(t, i, u, c) : "number" == typeof c ? (F(t, i + k, u), F(t, i + x, c)) : u > 0 ? M(t, i, u) : u < 0 ? O(t, i, u) : v(t, i, l, 0)
          }(this, e, t, i, u) : new A(e, t, i, u)
        }

        function I() {
          var e = this.buffer, t = this.offset, n = P(e, t + k), r = P(e, t + x);
          return c || (n |= 0), n ? n * s + r : r
        }

        function F(e, t, n) {
          e[t + T] = 255 & n, n >>= 8, e[t + E] = 255 & n, n >>= 8, e[t + S] = 255 & n, n >>= 8, e[t + C] = 255 & n
        }

        function P(e, t) {
          return 16777216 * e[t + C] + (e[t + S] << 16) + (e[t + E] << 8) + e[t + T]
        }
      }

      function f(e) {
        var t = this.buffer, r = this.offset;
        return n = null, !1 !== e && 0 === r && 8 === t.length && u(t) ? t : m(t, r)
      }

      function d(t) {
        var r = this.buffer, o = this.offset;
        if (n = i, !1 !== t && 0 === o && 8 === r.length && e.isBuffer(r)) return r;
        var a = new i(8);
        return v(a, 0, r, o), a
      }

      function h(e) {
        var t = this.buffer, r = this.offset, i = t.buffer;
        if (n = o, !1 !== e && 0 === r && i instanceof a && 8 === i.byteLength) return i;
        var l = new o(8);
        return v(l, 0, t, r), l.buffer
      }

      function p(e, t) {
        var n = e && e.length;
        return t |= 0, n && t + 8 <= n && "string" != typeof e[t]
      }

      function v(e, t, n, r) {
        t |= 0, r |= 0;
        for (var i = 0; i < 8; i++) e[t++] = 255 & n[r++]
      }

      function m(e, t) {
        return Array.prototype.slice.call(e, t, t + 8)
      }

      function b(e, t, n) {
        for (var r = t + 8; r > t;) e[--r] = 255 & n, n /= 256
      }

      function g(e, t, n) {
        var r = t + 8;
        for (n++; r > t;) e[--r] = 255 & -n ^ 255, n /= 256
      }

      function y(e, t, n) {
        for (var r = t + 8; t < r;) e[t++] = 255 & n, n /= 256
      }

      function w(e, t, n) {
        var r = t + 8;
        for (n++; t < r;) e[t++] = 255 & -n ^ 255, n /= 256
      }

      c("Uint64BE", !0, !0), c("Int64BE", !0, !1), c("Uint64LE", !1, !0), c("Int64LE", !1, !1)
    }("string" != typeof t.nodeName ? t : this || {})
  }).call(this, n(10).Buffer)
}, function (e, t) {
  var n;
  n = function () {
    return this
  }();
  try {
    n = n || new Function("return this")()
  } catch (e) {
    "object" == typeof window && (n = window)
  }
  e.exports = n
}, function (e, t, n) {
  "use strict";
  Object.defineProperty(t, "u", { value: !0 });
  var r = n(3), i = n(3), o = n(16).byEbmlID, a = function () {
    function e() {
      this.k = o, this.C = [], this.S = []
    }

    return e.prototype.encode = function (e) {
      var t = this;
      return r.concat(e.reduce((function (e, n) {
        return e.concat(t.encodeChunk(n))
      }), [])).buffer
    }, e.prototype.encodeChunk = function (e) {
      return "m" === e.type ? e.isEnd ? this.endTag(e) : this.startTag(e) : this.writeTag(e), this.flush()
    }, e.prototype.flush = function () {
      var e = this.C;
      return this.C = [], e
    }, e.prototype.getSchemaInfo = function (e) {
      for (var t = Object.keys(this.k).map(Number), n = 0; n < t.length; n++) {
        var r = t[n];
        if (this.k[r].name === e) return new i.Buffer(r.toString(16), "hex")
      }
      return null
    }, e.prototype.writeTag = function (e) {
      var t = e.name, n = this.getSchemaInfo(t), i = e.data;
      if (null == n) throw new Error("No schema entry found for " + t);
      var o = r.encodeTag(n, i);
      this.S.length > 0 ? this.S[this.S.length - 1].children.push({
        tagId: n,
        elm: e,
        children: [],
        data: o
      }) : this.C = this.C.concat(o)
    }, e.prototype.startTag = function (e) {
      var t = e.name, n = this.getSchemaInfo(t);
      if (null == n) throw new Error("No schema entry found for " + t);
      if (e.unknownSize) {
        var o = r.encodeTag(n, new i.Buffer(0), e.unknownSize);
        this.C = this.C.concat(o)
      } else {
        var a = { tagId: n, elm: e, children: [], data: null };
        this.S.length > 0 && this.S[this.S.length - 1].children.push(a), this.S.push(a)
      }
    }, e.prototype.endTag = function (e) {
      e.name;
      var t = this.S.pop();
      if (null == t) throw new Error("EBML structure is broken");
      if (t.elm.name !== e.name) throw new Error("EBML structure is broken");
      var n = t.children.reduce((function (e, t) {
        if (null === t.data) throw new Error("EBML structure is broken");
        return e.concat(t.data)
      }), []), i = r.concat(n);
      "m" === t.elm.type ? t.data = r.encodeTag(t.tagId, i, t.elm.unknownSize) : t.data = r.encodeTag(t.tagId, i), this.S.length < 1 && (this.C = this.C.concat(t.data))
    }, e
  }();
  t.default = a
}, function (e, t, n) {
  "use strict";
  var r = {
    128: {
      name: "ChapterDisplay",
      level: 4,
      type: "m",
      multiple: !0,
      minver: 1,
      webm: !0,
      description: "Contains all possible strings to use for the chapter display."
    },
    131: {
      name: "TrackType",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      range: "1-254",
      description: "A set of track types coded on 8 bits (1: video, 2: audio, 3: complex, 0x10: logo, 0x11: subtitle, 0x12: buttons, 0x20: control)."
    },
    133: {
      name: "ChapString",
      cppname: "ChapterString",
      level: 5,
      type: "8",
      mandatory: !0,
      minver: 1,
      webm: !0,
      description: "Contains the string to use as the chapter atom."
    },
    134: {
      name: "CodecID",
      level: 3,
      type: "s",
      mandatory: !0,
      minver: 1,
      description: "An ID corresponding to the codec, see the codec page for more info."
    },
    136: {
      name: "FlagDefault",
      cppname: "TrackFlagDefault",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      default: 1,
      range: "0-1",
      description: "Set if that track (audio, video or subs) SHOULD be active if no language found matches the user preference. (1 bit)"
    },
    137: {
      name: "ChapterTrackNumber",
      level: 5,
      type: "u",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !1,
      range: "not 0",
      description: "UID of the Track to apply this chapter too. In the absense of a control track, choosing this chapter will select the listed Tracks and deselect unlisted tracks. Absense of this element indicates that the Chapter should be applied to any currently used Tracks."
    },
    145: {
      name: "ChapterTimeStart",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !0,
      description: "Timestamp of the start of Chapter (not scaled)."
    },
    146: {
      name: "ChapterTimeEnd",
      level: 4,
      type: "u",
      minver: 1,
      webm: !1,
      description: "Timestamp of the end of Chapter (timestamp excluded, not scaled)."
    },
    150: {
      name: "CueRefTime",
      level: 5,
      type: "u",
      mandatory: !0,
      minver: 2,
      webm: !1,
      description: "Timestamp of the referenced Block."
    },
    151: {
      name: "CueRefCluster",
      level: 5,
      type: "u",
      mandatory: !0,
      webm: !1,
      description: "The Position of the Cluster containing the referenced Block."
    },
    152: {
      name: "ChapterFlagHidden",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      range: "0-1",
      description: "If a chapter is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)"
    },
    16980: {
      name: "ContentCompAlgo",
      level: 6,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "The compression algorithm used. Algorithms that have been specified so far are: 0 - zlib,   3 - Header Stripping"
    },
    16981: {
      name: "ContentCompSettings",
      level: 6,
      type: "b",
      minver: 1,
      webm: !1,
      description: "Settings that might be needed by the decompressor. For Header Stripping (ContentCompAlgo=3), the bytes that were removed from the beggining of each frames of the track."
    },
    17026: {
      name: "DocType",
      level: 1,
      type: "s",
      mandatory: !0,
      default: "matroska",
      minver: 1,
      description: "A string that describes the type of document that follows this EBML header. 'matroska' in our case or 'webm' for webm files."
    },
    17029: {
      name: "DocTypeReadVersion",
      level: 1,
      type: "u",
      mandatory: !0,
      default: 1,
      minver: 1,
      description: "The minimum DocType version an interpreter has to support to read this file."
    },
    17030: {
      name: "EBMLVersion",
      level: 1,
      type: "u",
      mandatory: !0,
      default: 1,
      minver: 1,
      description: "The version of EBML parser used to create the file."
    },
    17031: {
      name: "DocTypeVersion",
      level: 1,
      type: "u",
      mandatory: !0,
      default: 1,
      minver: 1,
      description: "The version of DocType interpreter used to create the file."
    },
    17476: {
      name: "SegmentFamily",
      level: 2,
      type: "b",
      multiple: !0,
      minver: 1,
      webm: !1,
      bytesize: 16,
      description: "A randomly generated unique ID that all segments related to each other must use (128 bits)."
    },
    17505: {
      name: "DateUTC",
      level: 2,
      type: "d",
      minver: 1,
      description: "Date of the origin of timestamp (value 0), i.e. production date."
    },
    17540: {
      name: "TagDefault",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 1,
      range: "0-1",
      description: "Indication to know if this is the default/original language to use for the given tag. (1 bit)"
    },
    17541: {
      name: "TagBinary",
      level: 4,
      type: "b",
      minver: 1,
      webm: !1,
      description: "The values of the Tag if it is binary. Note that this cannot be used in the same SimpleTag as TagString."
    },
    17543: { name: "TagString", level: 4, type: "8", minver: 1, webm: !1, description: "The value of the Element." },
    17545: {
      name: "Duration",
      level: 2,
      type: "f",
      minver: 1,
      range: "> 0",
      description: "Duration of the segment (based on TimecodeScale)."
    },
    17816: {
      name: "ChapterFlagEnabled",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 1,
      range: "0-1",
      description: "Specify wether the chapter is enabled. It can be enabled/disabled by a Control Track. When disabled, the movie should skip all the content between the TimeStart and TimeEnd of this chapter (see flag notes). (1 bit)"
    },
    18016: {
      name: "FileMimeType",
      level: 3,
      type: "s",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "MIME type of the file."
    },
    18017: { name: "FileUsedStartTime", level: 3, type: "u", divx: !0, description: "DivX font extension" },
    18018: { name: "FileUsedEndTime", level: 3, type: "u", divx: !0, description: "DivX font extension" },
    18037: {
      name: "FileReferral",
      level: 3,
      type: "b",
      webm: !1,
      description: "A binary value that a track/codec can refer to when the attachment is needed."
    },
    20529: {
      name: "ContentEncodingOrder",
      level: 5,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "Tells when this modification was used during encoding/muxing starting with 0 and counting upwards. The decoder/demuxer has to start with the highest order number it finds and work its way down. This value has to be unique over all ContentEncodingOrder elements in the segment."
    },
    20530: {
      name: "ContentEncodingScope",
      level: 5,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 1,
      range: "not 0",
      description: "A bit field that describes which elements have been modified in this way. Values (big endian) can be OR'ed. Possible values: 1 - all frame contents, 2 - the track's private data, 4 - the next ContentEncoding (next ContentEncodingOrder. Either the data inside ContentCompression and/or ContentEncryption)"
    },
    20531: {
      name: "ContentEncodingType",
      level: 5,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "A value describing what kind of transformation has been done. Possible values: 0 - compression, 1 - encryption"
    },
    20532: {
      name: "ContentCompression",
      level: 5,
      type: "m",
      minver: 1,
      webm: !1,
      description: "Settings describing the compression used. Must be present if the value of ContentEncodingType is 0 and absent otherwise. Each block must be decompressable even if no previous block is available in order not to prevent seeking."
    },
    20533: {
      name: "ContentEncryption",
      level: 5,
      type: "m",
      minver: 1,
      webm: !1,
      description: "Settings describing the encryption used. Must be present if the value of ContentEncodingType is 1 and absent otherwise."
    },
    21368: {
      name: "CueBlockNumber",
      level: 4,
      type: "u",
      minver: 1,
      default: 1,
      range: "not 0",
      description: "Number of the Block in the specified Cluster."
    },
    22100: {
      name: "ChapterStringUID",
      level: 4,
      type: "8",
      mandatory: !1,
      minver: 3,
      webm: !0,
      description: "A unique string ID to identify the Chapter. Use for WebVTT cue identifier storage."
    },
    22337: {
      name: "WritingApp",
      level: 2,
      type: "8",
      mandatory: !0,
      minver: 1,
      description: 'Writing application ("mkvmerge-0.3.3").'
    },
    22612: {
      name: "SilentTracks",
      cppname: "ClusterSilentTracks",
      level: 2,
      type: "m",
      minver: 1,
      webm: !1,
      description: "The list of tracks that are not used in that part of the stream. It is useful when using overlay tracks on seeking. Then you should decide what track to use."
    },
    25152: {
      name: "ContentEncoding",
      level: 4,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Settings for one content encoding like compression or encryption."
    },
    25188: {
      name: "BitDepth",
      cppname: "AudioBitDepth",
      level: 4,
      type: "u",
      minver: 1,
      range: "not 0",
      description: "Bits per sample, mostly used for PCM."
    },
    25906: {
      name: "SignedElement",
      level: 3,
      type: "b",
      multiple: !0,
      webm: !1,
      description: "An element ID whose data will be used to compute the signature."
    },
    26148: {
      name: "TrackTranslate",
      level: 3,
      type: "m",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "The track identification for the given Chapter Codec."
    },
    26897: {
      name: "ChapProcessCommand",
      cppname: "ChapterProcessCommand",
      level: 5,
      type: "m",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Contains all the commands associated to the Atom."
    },
    26914: {
      name: "ChapProcessTime",
      cppname: "ChapterProcessTime",
      level: 6,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "Defines when the process command should be handled (0: during the whole chapter, 1: before starting playback, 2: after playback of the chapter)."
    },
    26916: {
      name: "ChapterTranslate",
      level: 2,
      type: "m",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "A tuple of corresponding ID used by chapter codecs to represent this segment."
    },
    26931: {
      name: "ChapProcessData",
      cppname: "ChapterProcessData",
      level: 6,
      type: "b",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "Contains the command information. The data should be interpreted depending on the ChapProcessCodecID value. For ChapProcessCodecID = 1, the data correspond to the binary DVD cell pre/post commands."
    },
    26948: {
      name: "ChapProcess",
      cppname: "ChapterProcess",
      level: 4,
      type: "m",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Contains all the commands associated to the Atom."
    },
    26965: {
      name: "ChapProcessCodecID",
      cppname: "ChapterProcessCodecID",
      level: 5,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "Contains the type of the codec used for the processing. A value of 0 means native Matroska processing (to be defined), a value of 1 means the DVD command set is used. More codec IDs can be added later."
    },
    29555: {
      name: "Tag",
      level: 2,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Element containing elements specific to Tracks/Chapters."
    },
    29572: {
      name: "SegmentFilename",
      level: 2,
      type: "8",
      minver: 1,
      webm: !1,
      description: "A filename corresponding to this segment."
    },
    29766: {
      name: "AttachmentLink",
      cppname: "TrackAttachmentLink",
      level: 3,
      type: "u",
      minver: 1,
      webm: !1,
      range: "not 0",
      description: "The UID of an attachment that is used by this codec."
    },
    2459272: {
      name: "CodecName",
      level: 3,
      type: "8",
      minver: 1,
      description: "A human-readable string specifying the codec."
    },
    408125543: {
      name: "Segment",
      level: "0",
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      description: "This element contains all other top-level (level 1) elements. Typically a Matroska file is composed of 1 segment."
    },
    17530: {
      name: "TagLanguage",
      level: 4,
      type: "s",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: "und",
      description: "Specifies the language of the tag specified, in the Matroska languages form."
    },
    17827: {
      name: "TagName",
      level: 4,
      type: "8",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "The name of the Tag that is going to be stored."
    },
    26568: {
      name: "SimpleTag",
      cppname: "TagSimple",
      level: 3,
      recursive: "1",
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Contains general information about the target."
    },
    25542: {
      name: "TagAttachmentUID",
      level: 4,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "A unique ID to identify the Attachment(s) the tags belong to. If the value is 0 at this level, the tags apply to all the attachments in the Segment."
    },
    25540: {
      name: "TagChapterUID",
      level: 4,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "A unique ID to identify the Chapter(s) the tags belong to. If the value is 0 at this level, the tags apply to all chapters in the Segment."
    },
    25545: {
      name: "TagEditionUID",
      level: 4,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "A unique ID to identify the EditionEntry(s) the tags belong to. If the value is 0 at this level, the tags apply to all editions in the Segment."
    },
    25541: {
      name: "TagTrackUID",
      level: 4,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "A unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment."
    },
    25546: {
      name: "TargetType",
      cppname: "TagTargetType",
      level: 4,
      type: "s",
      minver: 1,
      webm: !1,
      strong: "informational",
      description: 'An  string that can be used to display the logical level of the target like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc (see TargetType).'
    },
    26826: {
      name: "TargetTypeValue",
      cppname: "TagTargetTypeValue",
      level: 4,
      type: "u",
      minver: 1,
      webm: !1,
      default: 50,
      description: "A number to indicate the logical level of the target (see TargetType)."
    },
    25536: {
      name: "Targets",
      cppname: "TagTargets",
      level: 3,
      type: "m",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "Contain all UIDs where the specified meta data apply. It is empty to describe everything in the segment."
    },
    307544935: {
      name: "Tags",
      level: 1,
      type: "m",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Element containing elements specific to Tracks/Chapters. A list of valid tags can be found here."
    },
    17677: {
      name: "ChapProcessPrivate",
      cppname: "ChapterProcessPrivate",
      level: 5,
      type: "b",
      minver: 1,
      webm: !1,
      description: 'Some optional data attached to the ChapProcessCodecID information. For ChapProcessCodecID = 1, it is the "DVD level" equivalent.'
    },
    17278: {
      name: "ChapCountry",
      cppname: "ChapterCountry",
      level: 5,
      type: "s",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "The countries corresponding to the string, same 2 octets as in Internet domains."
    },
    17276: {
      name: "ChapLanguage",
      cppname: "ChapterLanguage",
      level: 5,
      type: "s",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !0,
      default: "eng",
      description: "The languages corresponding to the string, in the bibliographic ISO-639-2 form."
    },
    143: {
      name: "ChapterTrack",
      level: 4,
      type: "m",
      minver: 1,
      webm: !1,
      description: "List of tracks on which the chapter applies. If this element is not present, all tracks apply"
    },
    25539: {
      name: "ChapterPhysicalEquiv",
      level: 4,
      type: "u",
      minver: 1,
      webm: !1,
      description: 'Specify the physical equivalent of this ChapterAtom like "DVD" (60) or "SIDE" (50), see complete list of values.'
    },
    28348: {
      name: "ChapterSegmentEditionUID",
      level: 4,
      type: "u",
      minver: 1,
      webm: !1,
      range: "not 0",
      description: "The EditionUID to play from the segment linked in ChapterSegmentUID."
    },
    28263: {
      name: "ChapterSegmentUID",
      level: 4,
      type: "b",
      minver: 1,
      webm: !1,
      range: ">0",
      bytesize: 16,
      description: "A segment to play in place of this chapter. Edition ChapterSegmentEditionUID should be used for this segment, otherwise no edition is used."
    },
    29636: {
      name: "ChapterUID",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !0,
      range: "not 0",
      description: "A unique ID to identify the Chapter."
    },
    182: {
      name: "ChapterAtom",
      level: 3,
      recursive: "1",
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !0,
      description: "Contains the atom information to use as the chapter atom (apply to all tracks)."
    },
    17885: {
      name: "EditionFlagOrdered",
      level: 3,
      type: "u",
      minver: 1,
      webm: !1,
      default: 0,
      range: "0-1",
      description: "Specify if the chapters can be defined multiple times and the order to play them is enforced. (1 bit)"
    },
    17883: {
      name: "EditionFlagDefault",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      range: "0-1",
      description: "If a flag is set (1) the edition should be used as the default one. (1 bit)"
    },
    17853: {
      name: "EditionFlagHidden",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      range: "0-1",
      description: "If an edition is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)"
    },
    17852: {
      name: "EditionUID",
      level: 3,
      type: "u",
      minver: 1,
      webm: !1,
      range: "not 0",
      description: "A unique ID to identify the edition. It's useful for tagging an edition."
    },
    17849: {
      name: "EditionEntry",
      level: 2,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !0,
      description: "Contains all information about a segment edition."
    },
    272869232: {
      name: "Chapters",
      level: 1,
      type: "m",
      minver: 1,
      webm: !0,
      description: "A system to define basic menus and partition data. For more detailed information, look at the Chapters Explanation."
    },
    18094: {
      name: "FileUID",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      range: "not 0",
      description: "Unique ID representing the file, as random as possible."
    },
    18012: {
      name: "FileData",
      level: 3,
      type: "b",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "The data of the file."
    },
    18030: {
      name: "FileName",
      level: 3,
      type: "8",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "Filename of the attached file."
    },
    18046: {
      name: "FileDescription",
      level: 3,
      type: "8",
      minver: 1,
      webm: !1,
      description: "A human-friendly name for the attached file."
    },
    24999: {
      name: "AttachedFile",
      level: 2,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "An attached file."
    },
    423732329: {
      name: "Attachments",
      level: 1,
      type: "m",
      minver: 1,
      webm: !1,
      description: "Contain attached files."
    },
    235: {
      name: "CueRefCodecState",
      level: 5,
      type: "u",
      webm: !1,
      default: 0,
      description: "The position of the Codec State corresponding to this referenced element. 0 means that the data is taken from the initial Track Entry."
    },
    21343: {
      name: "CueRefNumber",
      level: 5,
      type: "u",
      webm: !1,
      default: 1,
      range: "not 0",
      description: "Number of the referenced Block of Track X in the specified Cluster."
    },
    219: {
      name: "CueReference",
      level: 4,
      type: "m",
      multiple: !0,
      minver: 2,
      webm: !1,
      description: "The Clusters containing the required referenced Blocks."
    },
    234: {
      name: "CueCodecState",
      level: 4,
      type: "u",
      minver: 2,
      webm: !1,
      default: 0,
      description: "The position of the Codec State corresponding to this Cue element. 0 means that the data is taken from the initial Track Entry."
    },
    178: {
      name: "CueDuration",
      level: 4,
      type: "u",
      mandatory: !1,
      minver: 4,
      webm: !1,
      description: "The duration of the block according to the segment time base. If missing the track's DefaultDuration does not apply and no duration information is available in terms of the cues."
    },
    240: {
      name: "CueRelativePosition",
      level: 4,
      type: "u",
      mandatory: !1,
      minver: 4,
      webm: !1,
      description: "The relative position of the referenced block inside the cluster with 0 being the first possible position for an element inside that cluster.",
      position: "clusterRelative"
    },
    241: {
      name: "CueClusterPosition",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      description: "The position of the Cluster containing the required Block.",
      position: "segment"
    },
    247: {
      name: "CueTrack",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      range: "not 0",
      description: "The track for which a position is given."
    },
    183: {
      name: "CueTrackPositions",
      level: 3,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      description: "Contain positions for different tracks corresponding to the timestamp."
    },
    179: {
      name: "CueTime",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      description: "Absolute timestamp according to the segment time base."
    },
    187: {
      name: "CuePoint",
      level: 2,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      description: "Contains all information relative to a seek point in the segment."
    },
    475249515: {
      name: "Cues",
      level: 1,
      type: "m",
      minver: 1,
      description: 'A top-level element to speed seeking access. All entries are local to the segment. Should be mandatory for non "live" streams.'
    },
    18406: {
      name: "ContentSigHashAlgo",
      level: 6,
      type: "u",
      minver: 1,
      webm: !1,
      default: 0,
      description: "The hash algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - SHA1-160 2 - MD5"
    },
    18405: {
      name: "ContentSigAlgo",
      level: 6,
      type: "u",
      minver: 1,
      webm: !1,
      default: 0,
      description: "The algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - RSA"
    },
    18404: {
      name: "ContentSigKeyID",
      level: 6,
      type: "b",
      minver: 1,
      webm: !1,
      description: "This is the ID of the private key the data was signed with."
    },
    18403: {
      name: "ContentSignature",
      level: 6,
      type: "b",
      minver: 1,
      webm: !1,
      description: "A cryptographic signature of the contents."
    },
    18402: {
      name: "ContentEncKeyID",
      level: 6,
      type: "b",
      minver: 1,
      webm: !1,
      description: "For public key algorithms this is the ID of the public key the the data was encrypted with."
    },
    18401: {
      name: "ContentEncAlgo",
      level: 6,
      type: "u",
      minver: 1,
      webm: !1,
      default: 0,
      description: "The encryption algorithm used. The value '0' means that the contents have not been encrypted but only signed. Predefined values: 1 - DES, 2 - 3DES, 3 - Twofish, 4 - Blowfish, 5 - AES"
    },
    28032: {
      name: "ContentEncodings",
      level: 3,
      type: "m",
      minver: 1,
      webm: !1,
      description: "Settings for several content encoding mechanisms like compression or encryption."
    },
    196: {
      name: "TrickMasterTrackSegmentUID",
      level: 3,
      type: "b",
      divx: !0,
      bytesize: 16,
      description: "DivX trick track extenstions"
    },
    199: { name: "TrickMasterTrackUID", level: 3, type: "u", divx: !0, description: "DivX trick track extenstions" },
    198: {
      name: "TrickTrackFlag",
      level: 3,
      type: "u",
      divx: !0,
      default: 0,
      description: "DivX trick track extenstions"
    },
    193: {
      name: "TrickTrackSegmentUID",
      level: 3,
      type: "b",
      divx: !0,
      bytesize: 16,
      description: "DivX trick track extenstions"
    },
    192: { name: "TrickTrackUID", level: 3, type: "u", divx: !0, description: "DivX trick track extenstions" },
    237: {
      name: "TrackJoinUID",
      level: 5,
      type: "u",
      mandatory: !0,
      multiple: !0,
      minver: 3,
      webm: !1,
      range: "not 0",
      description: "The trackUID number of a track whose blocks are used to create this virtual track."
    },
    233: {
      name: "TrackJoinBlocks",
      level: 4,
      type: "m",
      minver: 3,
      webm: !1,
      description: "Contains the list of all tracks whose Blocks need to be combined to create this virtual track"
    },
    230: {
      name: "TrackPlaneType",
      level: 6,
      type: "u",
      mandatory: !0,
      minver: 3,
      webm: !1,
      description: "The kind of plane this track corresponds to (0: left eye, 1: right eye, 2: background)."
    },
    229: {
      name: "TrackPlaneUID",
      level: 6,
      type: "u",
      mandatory: !0,
      minver: 3,
      webm: !1,
      range: "not 0",
      description: "The trackUID number of the track representing the plane."
    },
    228: {
      name: "TrackPlane",
      level: 5,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 3,
      webm: !1,
      description: "Contains a video plane track that need to be combined to create this 3D track"
    },
    227: {
      name: "TrackCombinePlanes",
      level: 4,
      type: "m",
      minver: 3,
      webm: !1,
      description: "Contains the list of all video plane tracks that need to be combined to create this 3D track"
    },
    226: {
      name: "TrackOperation",
      level: 3,
      type: "m",
      minver: 3,
      webm: !1,
      description: "Operation that needs to be applied on tracks to create this virtual track. For more details look at the Specification Notes on the subject."
    },
    32123: {
      name: "ChannelPositions",
      cppname: "AudioPosition",
      level: 4,
      type: "b",
      webm: !1,
      description: "Table of horizontal angles for each successive channel, see appendix."
    },
    159: {
      name: "Channels",
      cppname: "AudioChannels",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      default: 1,
      range: "not 0",
      description: "Numbers of channels in the track."
    },
    30901: {
      name: "OutputSamplingFrequency",
      cppname: "AudioOutputSamplingFreq",
      level: 4,
      type: "f",
      minver: 1,
      default: "Sampling Frequency",
      range: "> 0",
      description: "Real output sampling frequency in Hz (used for SBR techniques)."
    },
    181: {
      name: "SamplingFrequency",
      cppname: "AudioSamplingFreq",
      level: 4,
      type: "f",
      mandatory: !0,
      minver: 1,
      default: 8e3,
      range: "> 0",
      description: "Sampling frequency in Hz."
    },
    225: { name: "Audio", cppname: "TrackAudio", level: 3, type: "m", minver: 1, description: "Audio settings." },
    2327523: {
      name: "FrameRate",
      cppname: "VideoFrameRate",
      level: 4,
      type: "f",
      range: "> 0",
      strong: "Informational",
      description: "Number of frames per second.  only."
    },
    3126563: {
      name: "GammaValue",
      cppname: "VideoGamma",
      level: 4,
      type: "f",
      webm: !1,
      range: "> 0",
      description: "Gamma Value."
    },
    3061028: {
      name: "ColourSpace",
      cppname: "VideoColourSpace",
      level: 4,
      type: "b",
      minver: 1,
      webm: !1,
      bytesize: 4,
      description: "Same value as in AVI (32 bits)."
    },
    21683: {
      name: "AspectRatioType",
      cppname: "VideoAspectRatio",
      level: 4,
      type: "u",
      minver: 1,
      default: 0,
      description: "Specify the possible modifications to the aspect ratio (0: free resizing, 1: keep aspect ratio, 2: fixed)."
    },
    21682: {
      name: "DisplayUnit",
      cppname: "VideoDisplayUnit",
      level: 4,
      type: "u",
      minver: 1,
      default: 0,
      description: "How DisplayWidth & DisplayHeight should be interpreted (0: pixels, 1: centimeters, 2: inches, 3: Display Aspect Ratio)."
    },
    21690: {
      name: "DisplayHeight",
      cppname: "VideoDisplayHeight",
      level: 4,
      type: "u",
      minver: 1,
      default: "PixelHeight",
      range: "not 0",
      description: "Height of the video frames to display. The default value is only valid when DisplayUnit is 0."
    },
    21680: {
      name: "DisplayWidth",
      cppname: "VideoDisplayWidth",
      level: 4,
      type: "u",
      minver: 1,
      default: "PixelWidth",
      range: "not 0",
      description: "Width of the video frames to display. The default value is only valid when DisplayUnit is 0."
    },
    21725: {
      name: "PixelCropRight",
      cppname: "VideoPixelCropRight",
      level: 4,
      type: "u",
      minver: 1,
      default: 0,
      description: "The number of video pixels to remove on the right of the image."
    },
    21708: {
      name: "PixelCropLeft",
      cppname: "VideoPixelCropLeft",
      level: 4,
      type: "u",
      minver: 1,
      default: 0,
      description: "The number of video pixels to remove on the left of the image."
    },
    21691: {
      name: "PixelCropTop",
      cppname: "VideoPixelCropTop",
      level: 4,
      type: "u",
      minver: 1,
      default: 0,
      description: "The number of video pixels to remove at the top of the image."
    },
    21674: {
      name: "PixelCropBottom",
      cppname: "VideoPixelCropBottom",
      level: 4,
      type: "u",
      minver: 1,
      default: 0,
      description: "The number of video pixels to remove at the bottom of the image (for HDTV content)."
    },
    186: {
      name: "PixelHeight",
      cppname: "VideoPixelHeight",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      range: "not 0",
      description: "Height of the encoded video frames in pixels."
    },
    176: {
      name: "PixelWidth",
      cppname: "VideoPixelWidth",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      range: "not 0",
      description: "Width of the encoded video frames in pixels."
    },
    21433: {
      name: "OldStereoMode",
      level: 4,
      type: "u",
      maxver: "0",
      webm: !1,
      divx: !1,
      description: "DEPRECATED, DO NOT USE. Bogus StereoMode value used in old versions of libmatroska. (0: mono, 1: right eye, 2: left eye, 3: both eyes)."
    },
    21440: {
      name: "AlphaMode",
      cppname: "VideoAlphaMode",
      level: 4,
      type: "u",
      minver: 3,
      webm: !0,
      default: 0,
      description: "Alpha Video Mode. Presence of this element indicates that the BlockAdditional element could contain Alpha data."
    },
    21432: {
      name: "StereoMode",
      cppname: "VideoStereoMode",
      level: 4,
      type: "u",
      minver: 3,
      webm: !0,
      default: 0,
      description: "Stereo-3D video mode (0: mono, 1: side by side (left eye is first), 2: top-bottom (right eye is first), 3: top-bottom (left eye is first), 4: checkboard (right is first), 5: checkboard (left is first), 6: row interleaved (right is first), 7: row interleaved (left is first), 8: column interleaved (right is first), 9: column interleaved (left is first), 10: anaglyph (cyan/red), 11: side by side (right eye is first), 12: anaglyph (green/magenta), 13 both eyes laced in one Block (left eye is first), 14 both eyes laced in one Block (right eye is first)) . There are some more details on 3D support in the Specification Notes."
    },
    154: {
      name: "FlagInterlaced",
      cppname: "VideoFlagInterlaced",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 2,
      webm: !0,
      default: 0,
      range: "0-1",
      description: "Set if the video is interlaced. (1 bit)"
    },
    224: { name: "Video", cppname: "TrackVideo", level: 3, type: "m", minver: 1, description: "Video settings." },
    26277: {
      name: "TrackTranslateTrackID",
      level: 4,
      type: "b",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "The binary value used to represent this track in the chapter codec data. The format depends on the ChapProcessCodecID used."
    },
    26303: {
      name: "TrackTranslateCodec",
      level: 4,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "The chapter codec using this ID (0: Matroska Script, 1: DVD-menu)."
    },
    26364: {
      name: "TrackTranslateEditionUID",
      level: 4,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Specify an edition UID on which this translation applies. When not specified, it means for all editions found in the segment."
    },
    22203: {
      name: "SeekPreRoll",
      level: 3,
      type: "u",
      mandatory: !0,
      multiple: !1,
      default: 0,
      minver: 4,
      webm: !0,
      description: "After a discontinuity, SeekPreRoll is the duration in nanoseconds of the data the decoder must decode before the decoded data is valid."
    },
    22186: {
      name: "CodecDelay",
      level: 3,
      type: "u",
      multiple: !1,
      default: 0,
      minver: 4,
      webm: !0,
      description: "CodecDelay is The codec-built-in delay in nanoseconds. This value must be subtracted from each block timestamp in order to get the actual timestamp. The value should be small so the muxing of tracks with the same actual timestamp are in the same Cluster."
    },
    28587: {
      name: "TrackOverlay",
      level: 3,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Specify that this track is an overlay track for the Track specified (in the u-integer). That means when this track has a gap (see SilentTracks) the overlay track should be used instead. The order of multiple TrackOverlay matters, the first one is the one that should be used. If not found it should be the second, etc."
    },
    170: {
      name: "CodecDecodeAll",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 2,
      webm: !1,
      default: 1,
      range: "0-1",
      description: "The codec can decode potentially damaged data (1 bit)."
    },
    2536e3: {
      name: "CodecDownloadURL",
      level: 3,
      type: "s",
      multiple: !0,
      webm: !1,
      description: "A URL to download about the codec used."
    },
    3883072: {
      name: "CodecInfoURL",
      level: 3,
      type: "s",
      multiple: !0,
      webm: !1,
      description: "A URL to find information about the codec used."
    },
    3839639: {
      name: "CodecSettings",
      level: 3,
      type: "8",
      webm: !1,
      description: "A string describing the encoding setting used."
    },
    25506: {
      name: "CodecPrivate",
      level: 3,
      type: "b",
      minver: 1,
      description: "Private data only known to the codec."
    },
    2274716: {
      name: "Language",
      cppname: "TrackLanguage",
      level: 3,
      type: "s",
      minver: 1,
      default: "eng",
      description: "Specifies the language of the track in the Matroska languages form."
    },
    21358: {
      name: "Name",
      cppname: "TrackName",
      level: 3,
      type: "8",
      minver: 1,
      description: "A human-readable track name."
    },
    21998: {
      name: "MaxBlockAdditionID",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "The maximum value of BlockAdditions for this track."
    },
    21375: {
      name: "TrackOffset",
      level: 3,
      type: "i",
      webm: !1,
      default: 0,
      description: "A value to add to the Block's Timestamp. This can be used to adjust the playback offset of a track."
    },
    2306383: {
      name: "TrackTimecodeScale",
      level: 3,
      type: "f",
      mandatory: !0,
      minver: 1,
      maxver: "3",
      webm: !1,
      default: 1,
      range: "> 0",
      description: "DEPRECATED, DO NOT USE. The scale to apply on this track to work at normal speed in relation with other tracks (mostly used to adjust video speed when the audio length differs)."
    },
    2313850: {
      name: "DefaultDecodedFieldDuration",
      cppname: "TrackDefaultDecodedFieldDuration",
      level: 3,
      type: "u",
      minver: 4,
      range: "not 0",
      description: "The period in nanoseconds (not scaled by TimcodeScale)\nbetween two successive fields at the output of the decoding process (see the notes)"
    },
    2352003: {
      name: "DefaultDuration",
      cppname: "TrackDefaultDuration",
      level: 3,
      type: "u",
      minver: 1,
      range: "not 0",
      description: "Number of nanoseconds (not scaled via TimecodeScale) per frame ('frame' in the Matroska sense -- one element put into a (Simple)Block)."
    },
    28152: {
      name: "MaxCache",
      cppname: "TrackMaxCache",
      level: 3,
      type: "u",
      minver: 1,
      webm: !1,
      description: "The maximum cache size required to store referenced frames in and the current frame. 0 means no cache is needed."
    },
    28135: {
      name: "MinCache",
      cppname: "TrackMinCache",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "The minimum number of frames a player should be able to cache during playback. If set to 0, the reference pseudo-cache system is not used."
    },
    156: {
      name: "FlagLacing",
      cppname: "TrackFlagLacing",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      default: 1,
      range: "0-1",
      description: "Set if the track may contain blocks using lacing. (1 bit)"
    },
    21930: {
      name: "FlagForced",
      cppname: "TrackFlagForced",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      default: 0,
      range: "0-1",
      description: "Set if that track MUST be active during playback. There can be many forced track for a kind (audio, video or subs), the player should select the one which language matches the user preference or the default + forced track. Overlay MAY happen between a forced and non-forced track of the same kind. (1 bit)"
    },
    185: {
      name: "FlagEnabled",
      cppname: "TrackFlagEnabled",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 2,
      webm: !0,
      default: 1,
      range: "0-1",
      description: "Set if the track is usable. (1 bit)"
    },
    29637: {
      name: "TrackUID",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      range: "not 0",
      description: "A unique ID to identify the Track. This should be kept the same when making a direct stream copy of the Track to another file."
    },
    215: {
      name: "TrackNumber",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      range: "not 0",
      description: "The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number)."
    },
    174: {
      name: "TrackEntry",
      level: 2,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      description: "Describes a track with all elements."
    },
    374648427: {
      name: "Tracks",
      level: 1,
      type: "m",
      multiple: !0,
      minver: 1,
      description: "A top-level block of information with many tracks described."
    },
    175: {
      name: "EncryptedBlock",
      level: 2,
      type: "b",
      multiple: !0,
      webm: !1,
      description: "Similar to EncryptedBlock Structure)"
    },
    202: {
      name: "ReferenceTimeCode",
      level: 4,
      type: "u",
      multiple: !1,
      mandatory: !0,
      minver: 0,
      webm: !1,
      divx: !0,
      description: "DivX trick track extenstions"
    },
    201: {
      name: "ReferenceOffset",
      level: 4,
      type: "u",
      multiple: !1,
      mandatory: !0,
      minver: 0,
      webm: !1,
      divx: !0,
      description: "DivX trick track extenstions"
    },
    200: {
      name: "ReferenceFrame",
      level: 3,
      type: "m",
      multiple: !1,
      minver: 0,
      webm: !1,
      divx: !0,
      description: "DivX trick track extenstions"
    },
    207: {
      name: "SliceDuration",
      level: 5,
      type: "u",
      default: 0,
      description: "The (scaled) duration to apply to the element."
    },
    206: {
      name: "Delay",
      cppname: "SliceDelay",
      level: 5,
      type: "u",
      default: 0,
      description: "The (scaled) delay to apply to the element."
    },
    203: {
      name: "BlockAdditionID",
      cppname: "SliceBlockAddID",
      level: 5,
      type: "u",
      default: 0,
      description: "The ID of the BlockAdditional element (0 is the main Block)."
    },
    205: {
      name: "FrameNumber",
      cppname: "SliceFrameNumber",
      level: 5,
      type: "u",
      default: 0,
      description: "The number of the frame to generate from this lace with this delay (allow you to generate many frames from the same Block/Frame)."
    },
    204: {
      name: "LaceNumber",
      cppname: "SliceLaceNumber",
      level: 5,
      type: "u",
      minver: 1,
      default: 0,
      divx: !1,
      description: "The reverse number of the frame in the lace (0 is the last frame, 1 is the next to last, etc). While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback."
    },
    232: {
      name: "TimeSlice",
      level: 4,
      type: "m",
      multiple: !0,
      minver: 1,
      divx: !1,
      description: "Contains extra time information about the data contained in the Block. While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback."
    },
    142: { name: "Slices", level: 3, type: "m", minver: 1, divx: !1, description: "Contains slices description." },
    30114: {
      name: "DiscardPadding",
      level: 3,
      type: "i",
      minver: 4,
      webm: !0,
      description: "Duration in nanoseconds of the silent data added to the Block (padding at the end of the Block for positive value, at the beginning of the Block for negative value). The duration of DiscardPadding is not calculated in the duration of the TrackEntry and should be discarded during playback."
    },
    164: {
      name: "CodecState",
      level: 3,
      type: "b",
      minver: 2,
      webm: !1,
      description: "The new codec state to use. Data interpretation is private to the codec. This information should always be referenced by a seek entry."
    },
    253: {
      name: "ReferenceVirtual",
      level: 3,
      type: "i",
      webm: !1,
      description: "Relative position of the data that should be in position of the virtual block."
    },
    251: {
      name: "ReferenceBlock",
      level: 3,
      type: "i",
      multiple: !0,
      minver: 1,
      description: "Timestamp of another frame used as a reference (ie: B or P frame). The timestamp is relative to the block it's attached to."
    },
    250: {
      name: "ReferencePriority",
      cppname: "FlagReferenced",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 0,
      description: "This frame is referenced and has the specified cache priority. In cache only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced."
    },
    155: {
      name: "BlockDuration",
      level: 3,
      type: "u",
      minver: 1,
      default: "TrackDuration",
      description: 'The duration of the Block (based on TimecodeScale). This element is mandatory when DefaultDuration is set for the track (but can be omitted as other default values). When not written and with no DefaultDuration, the value is assumed to be the difference between the timestamp of this Block and the timestamp of the next Block in "display" order (not coding order). This element can be useful at the end of a Track (as there is not other Block available), or when there is a break in a track like for subtitle tracks. When set to 0 that means the frame is not a keyframe.'
    },
    165: {
      name: "BlockAdditional",
      level: 5,
      type: "b",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "Interpreted by the codec as it wishes (using the BlockAddID)."
    },
    238: {
      name: "BlockAddID",
      level: 5,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      default: 1,
      range: "not 0",
      description: "An ID to identify the BlockAdditional level."
    },
    166: {
      name: "BlockMore",
      level: 4,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Contain the BlockAdditional and some parameters."
    },
    30113: {
      name: "BlockAdditions",
      level: 3,
      type: "m",
      minver: 1,
      webm: !1,
      description: "Contain additional blocks to complete the main one. An EBML parser that has no knowledge of the Block structure could still see and use/skip these data."
    },
    162: {
      name: "BlockVirtual",
      level: 3,
      type: "b",
      webm: !1,
      description: "A Block with no data. It must be stored in the stream at the place the real Block should be in display order. (see Block Virtual)"
    },
    161: {
      name: "Block",
      level: 3,
      type: "b",
      mandatory: !0,
      minver: 1,
      description: "Block containing the actual data to be rendered and a timestamp relative to the Cluster Timecode. (see Block Structure)"
    },
    160: {
      name: "BlockGroup",
      level: 2,
      type: "m",
      multiple: !0,
      minver: 1,
      description: "Basic container of information containing a single Block or BlockVirtual, and information specific to that Block/VirtualBlock."
    },
    163: {
      name: "SimpleBlock",
      level: 2,
      type: "b",
      multiple: !0,
      minver: 2,
      webm: !0,
      divx: !0,
      description: "Similar to SimpleBlock Structure"
    },
    171: {
      name: "PrevSize",
      cppname: "ClusterPrevSize",
      level: 2,
      type: "u",
      minver: 1,
      description: "Size of the previous Cluster, in octets. Can be useful for backward playing.",
      position: "prevCluster"
    },
    167: {
      name: "Position",
      cppname: "ClusterPosition",
      level: 2,
      type: "u",
      minver: 1,
      webm: !1,
      description: "The Position of the Cluster in the segment (0 in live broadcast streams). It might help to resynchronise offset on damaged streams.",
      position: "segment"
    },
    22743: {
      name: "SilentTrackNumber",
      cppname: "ClusterSilentTrackNumber",
      level: 3,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "One of the track number that are not used from now on in the stream. It could change later if not specified as silent in a further Cluster."
    },
    231: {
      name: "Timecode",
      cppname: "ClusterTimecode",
      level: 2,
      type: "u",
      mandatory: !0,
      minver: 1,
      description: "Absolute timestamp of the cluster (based on TimecodeScale)."
    },
    524531317: {
      name: "Cluster",
      level: 1,
      type: "m",
      multiple: !0,
      minver: 1,
      description: "The lower level element containing the (monolithic) Block structure."
    },
    19840: {
      name: "MuxingApp",
      level: 2,
      type: "8",
      mandatory: !0,
      minver: 1,
      description: 'Muxing application or library ("libmatroska-0.4.3").'
    },
    31657: { name: "Title", level: 2, type: "8", minver: 1, webm: !1, description: "General name of the segment." },
    2807730: {
      name: "TimecodeScaleDenominator",
      level: 2,
      type: "u",
      mandatory: !0,
      minver: 4,
      default: "1000000000",
      description: "Timestamp scale numerator, see TimecodeScale."
    },
    2807729: {
      name: "TimecodeScale",
      level: 2,
      type: "u",
      mandatory: !0,
      minver: 1,
      default: "1000000",
      description: "Timestamp scale in nanoseconds (1.000.000 means all timestamps in the segment are expressed in milliseconds)."
    },
    27045: {
      name: "ChapterTranslateID",
      level: 3,
      type: "b",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "The binary value used to represent this segment in the chapter codec data. The format depends on the ChapProcessCodecID used."
    },
    27071: {
      name: "ChapterTranslateCodec",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      webm: !1,
      description: "The chapter codec using this ID (0: Matroska Script, 1: DVD-menu)."
    },
    27132: {
      name: "ChapterTranslateEditionUID",
      level: 3,
      type: "u",
      multiple: !0,
      minver: 1,
      webm: !1,
      description: "Specify an edition UID on which this correspondance applies. When not specified, it means for all editions found in the segment."
    },
    4096955: {
      name: "NextFilename",
      level: 2,
      type: "8",
      minver: 1,
      webm: !1,
      description: "An escaped filename corresponding to the next segment."
    },
    4110627: {
      name: "NextUID",
      level: 2,
      type: "b",
      minver: 1,
      webm: !1,
      bytesize: 16,
      description: "A unique ID to identify the next chained segment (128 bits)."
    },
    3965867: {
      name: "PrevFilename",
      level: 2,
      type: "8",
      minver: 1,
      webm: !1,
      description: "An escaped filename corresponding to the previous segment."
    },
    3979555: {
      name: "PrevUID",
      level: 2,
      type: "b",
      minver: 1,
      webm: !1,
      bytesize: 16,
      description: "A unique ID to identify the previous chained segment (128 bits)."
    },
    29604: {
      name: "SegmentUID",
      level: 2,
      type: "b",
      minver: 1,
      webm: !1,
      range: "not 0",
      bytesize: 16,
      description: "A randomly generated unique ID to identify the current segment between many others (128 bits)."
    },
    357149030: {
      name: "Info",
      level: 1,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      description: "Contains miscellaneous general information and statistics on the file."
    },
    21420: {
      name: "SeekPosition",
      level: 3,
      type: "u",
      mandatory: !0,
      minver: 1,
      description: "The position of the element in the segment in octets (0 = first level 1 element).",
      position: "segment"
    },
    21419: {
      name: "SeekID",
      level: 3,
      type: "b",
      mandatory: !0,
      minver: 1,
      description: "The binary ID corresponding to the element name.",
      type2: "ebmlID"
    },
    19899: {
      name: "Seek",
      cppname: "SeekPoint",
      level: 2,
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      description: "Contains a single seek entry to an EBML element."
    },
    290298740: {
      name: "SeekHead",
      cppname: "SeekHeader",
      level: 1,
      type: "m",
      multiple: !0,
      minver: 1,
      description: "Contains the position of other level 1 elements."
    },
    32379: {
      name: "SignatureElementList",
      level: 2,
      type: "m",
      multiple: !0,
      webm: !1,
      i: "Cluster|Block|BlockAdditional",
      description: "A list consists of a number of consecutive elements that represent one case where data is used in signature. Ex:  means that the BlockAdditional of all Blocks in all Clusters is used for encryption."
    },
    32347: {
      name: "SignatureElements",
      level: 1,
      type: "m",
      webm: !1,
      description: "Contains elements that will be used to compute the signature."
    },
    32437: {
      name: "Signature",
      level: 1,
      type: "b",
      webm: !1,
      description: "The signature of the data (until a new."
    },
    32421: {
      name: "SignaturePublicKey",
      level: 1,
      type: "b",
      webm: !1,
      description: "The public key to use with the algorithm (in the case of a PKI-based signature)."
    },
    32410: {
      name: "SignatureHash",
      level: 1,
      type: "u",
      webm: !1,
      description: "Hash algorithm used (1=SHA1-160, 2=MD5)."
    },
    32394: {
      name: "SignatureAlgo",
      level: 1,
      type: "u",
      webm: !1,
      description: "Signature algorithm used (1=RSA, 2=elliptic)."
    },
    458458727: {
      name: "SignatureSlot",
      level: -1,
      type: "m",
      multiple: !0,
      webm: !1,
      description: "Contain signature of some (coming) elements in the stream."
    },
    191: {
      name: "CRC-32",
      level: -1,
      type: "b",
      minver: 1,
      webm: !1,
      description: "The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian",
      crc: !0
    },
    236: {
      name: "Void",
      level: -1,
      type: "b",
      minver: 1,
      description: "Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use."
    },
    17139: {
      name: "EBMLMaxSizeLength",
      level: 1,
      type: "u",
      mandatory: !0,
      default: 8,
      minver: 1,
      description: "The maximum length of the sizes you'll find in this file (8 or less in Matroska). This does not override the element size indicated at the beginning of an element. Elements that have an indicated size which is larger than what is allowed by EBMLMaxSizeLength shall be considered invalid."
    },
    17138: {
      name: "EBMLMaxIDLength",
      level: 1,
      type: "u",
      mandatory: !0,
      default: 4,
      minver: 1,
      description: "The maximum length of the IDs you'll find in this file (4 or less in Matroska)."
    },
    17143: {
      name: "EBMLReadVersion",
      level: 1,
      type: "u",
      mandatory: !0,
      default: 1,
      minver: 1,
      description: "The minimum EBML version a parser has to support to read this file."
    },
    440786851: {
      name: "EBML",
      level: "0",
      type: "m",
      mandatory: !0,
      multiple: !0,
      minver: 1,
      description: "Set the EBML characteristics of the data to follow. Each EBML document has to start with this."
    }
  }, i = {}, o = { byEbmlID: r, byName: i };
  for (var a in r) {
    i[r[a].name.replace("-", "_")] = parseInt(a, 10)
  }
  e.exports = o
}, function (e, t, n) {
  "use strict";
  !function e() {
    if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE) try {
      __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)
    } catch (e) {
      console.error(e)
    }
  }(), e.exports = n(20)
}, function (e, t, n) {
  "use strict";
  n(9);
  var r = n(0), i = 60103;
  if (t.Fragment = 60107, "function" == typeof Symbol && Symbol.for) {
    var o = Symbol.for;
    i = o("react.element"), t.Fragment = o("react.fragment")
  }
  var a = r.T.ReactCurrentOwner, l = Object.prototype.hasOwnProperty, u = { key: !0, ref: !0, M: !0, O: !0 };

  function s(e, t, n) {
    var r, o = {}, s = null, c = null;
    for (r in void 0 !== n && (s = "" + n), void 0 !== t.key && (s = "" + t.key), void 0 !== t.ref && (c = t.ref), t) l.call(t, r) && !u.hasOwnProperty(r) && (o[r] = t[r]);
    if (e && e.defaultProps) for (r in t = e.defaultProps) void 0 === o[r] && (o[r] = t[r]);
    return { $$typeof: i, type: e, key: s, ref: c, props: o, j: a.current }
  }

  t.jsx = s, t.jsxs = s
}, function (e, t, n) {
  "use strict";
  var r = n(9), i = 60103, o = 60106;
  t.Fragment = 60107, t.StrictMode = 60108, t.Profiler = 60114;
  var a = 60109, l = 60110, u = 60112;
  t.Suspense = 60113;
  var s = 60115, c = 60116;
  if ("function" == typeof Symbol && Symbol.for) {
    var f = Symbol.for;
    i = f("react.element"), o = f("react.portal"), t.Fragment = f("react.fragment"), t.StrictMode = f("react.strict_mode"), t.Profiler = f("react.profiler"), a = f("react.provider"), l = f("react.context"), u = f("react.forward_ref"), t.Suspense = f("react.suspense"), s = f("react.memo"), c = f("react.lazy")
  }
  var d = "function" == typeof Symbol && Symbol.iterator;

  function h(e) {
    for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
    return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
  }

  var p = {
    isMounted: function () {
      return !1
    }, enqueueForceUpdate: function () {
    }, enqueueReplaceState: function () {
    }, enqueueSetState: function () {
    }
  }, v = {};

  function m(e, t, n) {
    this.props = e, this.context = t, this.refs = v, this.updater = n || p
  }

  function b() {
  }

  function g(e, t, n) {
    this.props = e, this.context = t, this.refs = v, this.updater = n || p
  }

  m.prototype.isReactComponent = {}, m.prototype.setState = function (e, t) {
    if ("object" != typeof e && "function" != typeof e && null != e) throw Error(h(85));
    this.updater.enqueueSetState(this, e, t, "setState")
  }, m.prototype.forceUpdate = function (e) {
    this.updater.enqueueForceUpdate(this, e, "forceUpdate")
  }, b.prototype = m.prototype;
  var y = g.prototype = new b;
  y.constructor = g, r(y, m.prototype), y.isPureReactComponent = !0;
  var w = { current: null }, k = Object.prototype.hasOwnProperty, x = { key: !0, ref: !0, M: !0, O: !0 };

  function C(e, t, n) {
    var r, o = {}, a = null, l = null;
    if (null != t) for (r in void 0 !== t.ref && (l = t.ref), void 0 !== t.key && (a = "" + t.key), t) k.call(t, r) && !x.hasOwnProperty(r) && (o[r] = t[r]);
    var u = arguments.length - 2;
    if (1 === u) o.children = n; else if (1 < u) {
      for (var s = Array(u), c = 0; c < u; c++) s[c] = arguments[c + 2];
      o.children = s
    }
    if (e && e.defaultProps) for (r in u = e.defaultProps) void 0 === o[r] && (o[r] = u[r]);
    return { $$typeof: i, type: e, key: a, ref: l, props: o, j: w.current }
  }

  function S(e) {
    return "object" == typeof e && null !== e && e.$$typeof === i
  }

  var E = /\/+/g;

  function T(e, t) {
    return "object" == typeof e && null !== e && null != e.key ? function (e) {
      var t = { "=": "=0", ":": "=2" };
      return "$" + e.replace(/[=:]/g, (function (e) {
        return t[e]
      }))
    }("" + e.key) : t.toString(36)
  }

  function M(e, t, n, r, a) {
    var l = typeof e;
    "undefined" !== l && "boolean" !== l || (e = null);
    var u = !1;
    if (null === e) u = !0; else switch (l) {
      case "string":
      case "number":
        u = !0;
        break;
      case "object":
        switch (e.$$typeof) {
          case i:
          case o:
            u = !0
        }
    }
    if (u) return a = a(u = e), e = "" === r ? "." + T(u, 0) : r, Array.isArray(a) ? (n = "", null != e && (n = e.replace(E, "$&/") + "/"), M(a, t, n, "", (function (e) {
      return e
    }))) : null != a && (S(a) && (a = function (e, t) {
      return { $$typeof: i, type: e.type, key: t, ref: e.ref, props: e.props, j: e.j }
    }(a, n + (!a.key || u && u.key === a.key ? "" : ("" + a.key).replace(E, "$&/") + "/") + e)), t.push(a)), 1;
    if (u = 0, r = "" === r ? "." : r + ":", Array.isArray(e)) for (var s = 0; s < e.length; s++) {
      var c = r + T(l = e[s], s);
      u += M(l, t, n, c, a)
    } else if ("function" == typeof (c = function (e) {
      return null === e || "object" != typeof e ? null : "function" == typeof (e = d && e[d] || e["@@iterator"]) ? e : null
    }(e))) for (e = c.call(e), s = 0; !(l = e.next()).done;) u += M(l = l.value, t, n, c = r + T(l, s++), a); else if ("object" === l) throw t = "" + e, Error(h(31, "[object Object]" === t ? "object with keys {" + Object.keys(e).join(", ") + "}" : t));
    return u
  }

  function O(e, t, n) {
    if (null == e) return e;
    var r = [], i = 0;
    return M(e, r, "", "", (function (e) {
      return t.call(n, e, i++)
    })), r
  }

  function j(e) {
    if (-1 === e.D) {
      var t = e.L;
      t = t(), e.D = 0, e.L = t, t.then((function (t) {
        0 === e.D && (t = t.default, e.D = 1, e.L = t)
      }), (function (t) {
        0 === e.D && (e.D = 2, e.L = t)
      }))
    }
    if (1 === e.D) return e.L;
    throw e.L
  }

  var D = { current: null };

  function L() {
    var e = D.current;
    if (null === e) throw Error(h(321));
    return e
  }

  var A = {
    ReactCurrentDispatcher: D,
    ReactCurrentBatchConfig: { transition: 0 },
    ReactCurrentOwner: w,
    IsSomeRendererActing: { current: !1 },
    assign: r
  };
  t.Children = {
    map: O, forEach: function (e, t, n) {
      O(e, (function () {
        t.apply(this, arguments)
      }), n)
    }, count: function (e) {
      var t = 0;
      return O(e, (function () {
        t++
      })), t
    }, toArray: function (e) {
      return O(e, (function (e) {
        return e
      })) || []
    }, only: function (e) {
      if (!S(e)) throw Error(h(143));
      return e
    }
  }, t.Component = m, t.PureComponent = g, t.T = A, t.cloneElement = function (e, t, n) {
    if (null == e) throw Error(h(267, e));
    var o = r({}, e.props), a = e.key, l = e.ref, u = e.j;
    if (null != t) {
      if (void 0 !== t.ref && (l = t.ref, u = w.current), void 0 !== t.key && (a = "" + t.key), e.type && e.type.defaultProps) var s = e.type.defaultProps;
      for (c in t) k.call(t, c) && !x.hasOwnProperty(c) && (o[c] = void 0 === t[c] && void 0 !== s ? s[c] : t[c])
    }
    var c = arguments.length - 2;
    if (1 === c) o.children = n; else if (1 < c) {
      s = Array(c);
      for (var f = 0; f < c; f++) s[f] = arguments[f + 2];
      o.children = s
    }
    return { $$typeof: i, type: e.type, key: a, ref: l, props: o, j: u }
  }, t.createContext = function (e, t) {
    return void 0 === t && (t = null), (e = {
      $$typeof: l,
      A: t,
      I: e,
      F: e,
      P: 0,
      Provider: null,
      Consumer: null
    }).Provider = { $$typeof: a, B: e }, e.Consumer = e
  }, t.createElement = C, t.createFactory = function (e) {
    var t = C.bind(null, e);
    return t.type = e, t
  }, t.createRef = function () {
    return { current: null }
  }, t.forwardRef = function (e) {
    return { $$typeof: u, render: e }
  }, t.isValidElement = S, t.lazy = function (e) {
    return { $$typeof: c, R: { D: -1, L: e }, _: j }
  }, t.memo = function (e, t) {
    return { $$typeof: s, type: e, compare: void 0 === t ? null : t }
  }, t.useCallback = function (e, t) {
    return L().useCallback(e, t)
  }, t.useContext = function (e, t) {
    return L().useContext(e, t)
  }, t.useDebugValue = function () {
  }, t.useEffect = function (e, t) {
    return L().useEffect(e, t)
  }, t.useImperativeHandle = function (e, t, n) {
    return L().useImperativeHandle(e, t, n)
  }, t.useLayoutEffect = function (e, t) {
    return L().useLayoutEffect(e, t)
  }, t.useMemo = function (e, t) {
    return L().useMemo(e, t)
  }, t.useReducer = function (e, t, n) {
    return L().useReducer(e, t, n)
  }, t.useRef = function (e) {
    return L().useRef(e)
  }, t.useState = function (e) {
    return L().useState(e)
  }, t.version = "17.0.1"
}, function (e, t, n) {
  "use strict";
  var r = n(0), i = n(9), o = n(21);

  function a(e) {
    for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
    return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
  }

  if (!r) throw Error(a(227));
  var l = new Set, u = {};

  function s(e, t) {
    c(e, t), c(e + "Capture", t)
  }

  function c(e, t) {
    for (u[e] = t, e = 0; e < t.length; e++) l.add(t[e])
  }

  var f = !("undefined" == typeof window || void 0 === window.document || void 0 === window.document.createElement),
    d = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
    h = Object.prototype.hasOwnProperty, p = {}, v = {};

  function m(e, t, n, r, i, o, a) {
    this.acceptsBooleans = 2 === t || 3 === t || 4 === t, this.attributeName = r, this.attributeNamespace = i, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = o, this.removeEmptyString = a
  }

  var b = {};
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function (e) {
    b[e] = new m(e, 0, !1, e, null, !1, !1)
  })), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach((function (e) {
    var t = e[0];
    b[t] = new m(t, 1, !1, e[1], null, !1, !1)
  })), ["contentEditable", "draggable", "spellCheck", "value"].forEach((function (e) {
    b[e] = new m(e, 2, !1, e.toLowerCase(), null, !1, !1)
  })), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach((function (e) {
    b[e] = new m(e, 2, !1, e, null, !1, !1)
  })), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function (e) {
    b[e] = new m(e, 3, !1, e.toLowerCase(), null, !1, !1)
  })), ["checked", "multiple", "muted", "selected"].forEach((function (e) {
    b[e] = new m(e, 3, !0, e, null, !1, !1)
  })), ["capture", "download"].forEach((function (e) {
    b[e] = new m(e, 4, !1, e, null, !1, !1)
  })), ["cols", "rows", "size", "span"].forEach((function (e) {
    b[e] = new m(e, 6, !1, e, null, !1, !1)
  })), ["rowSpan", "start"].forEach((function (e) {
    b[e] = new m(e, 5, !1, e.toLowerCase(), null, !1, !1)
  }));
  var g = /[\-:]([a-z])/g;

  function y(e) {
    return e[1].toUpperCase()
  }

  function w(e, t, n, r) {
    var i = b.hasOwnProperty(t) ? b[t] : null;
    (null !== i ? 0 === i.type : !r && (2 < t.length && ("o" === t[0] || "O" === t[0]) && ("n" === t[1] || "N" === t[1]))) || (function (e, t, n, r) {
      if (null == t || function (e, t, n, r) {
        if (null !== n && 0 === n.type) return !1;
        switch (typeof t) {
          case "function":
          case "symbol":
            return !0;
          case "boolean":
            return !r && (null !== n ? !n.acceptsBooleans : "data-" !== (e = e.toLowerCase().slice(0, 5)) && "aria-" !== e);
          default:
            return !1
        }
      }(e, t, n, r)) return !0;
      if (r) return !1;
      if (null !== n) switch (n.type) {
        case 3:
          return !t;
        case 4:
          return !1 === t;
        case 5:
          return isNaN(t);
        case 6:
          return isNaN(t) || 1 > t
      }
      return !1
    }(t, n, i, r) && (n = null), r || null === i ? function (e) {
      return !!h.call(v, e) || !h.call(p, e) && (d.test(e) ? v[e] = !0 : (p[e] = !0, !1))
    }(t) && (null === n ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : i.mustUseProperty ? e[i.propertyName] = null === n ? 3 !== i.type && "" : n : (t = i.attributeName, r = i.attributeNamespace, null === n ? e.removeAttribute(t) : (n = 3 === (i = i.type) || 4 === i && !0 === n ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))))
  }

  "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function (e) {
    var t = e.replace(g, y);
    b[t] = new m(t, 1, !1, e, null, !1, !1)
  })), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function (e) {
    var t = e.replace(g, y);
    b[t] = new m(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1)
  })), ["xml:base", "xml:lang", "xml:space"].forEach((function (e) {
    var t = e.replace(g, y);
    b[t] = new m(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1)
  })), ["tabIndex", "crossOrigin"].forEach((function (e) {
    b[e] = new m(e, 1, !1, e.toLowerCase(), null, !1, !1)
  })), b.xlinkHref = new m("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach((function (e) {
    b[e] = new m(e, 1, !1, e.toLowerCase(), null, !0, !0)
  }));
  var k = r.T, x = 60103, C = 60106, S = 60107, E = 60108, T = 60114, M = 60109, O = 60110, j = 60112, D = 60113,
    L = 60120, A = 60115, I = 60116, F = 60121, P = 60128, B = 60129, R = 60130, z = 60131;
  if ("function" == typeof Symbol && Symbol.for) {
    var _ = Symbol.for;
    x = _("react.element"), C = _("react.portal"), S = _("react.fragment"), E = _("react.strict_mode"), T = _("react.profiler"), M = _("react.provider"), O = _("react.context"), j = _("react.forward_ref"), D = _("react.suspense"), L = _("react.suspense_list"), A = _("react.memo"), I = _("react.lazy"), F = _("react.block"), _("react.scope"), P = _("react.opaque.id"), B = _("react.debug_trace_mode"), R = _("react.offscreen"), z = _("react.legacy_hidden")
  }
  var N, U = "function" == typeof Symbol && Symbol.iterator;

  function V(e) {
    return null === e || "object" != typeof e ? null : "function" == typeof (e = U && e[U] || e["@@iterator"]) ? e : null
  }

  function H(e) {
    if (void 0 === N) try {
      throw Error()
    } catch (e) {
      var t = e.stack.trim().match(/\n( *(at )?)/);
      N = t && t[1] || ""
    }
    return "\n" + N + e
  }

  var $ = !1;

  function W(e, t) {
    if (!e || $) return "";
    $ = !0;
    var n = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    try {
      if (t) if (t = function () {
        throw Error()
      }, Object.defineProperty(t.prototype, "props", {
        set: function () {
          throw Error()
        }
      }), "object" == typeof Reflect && Reflect.construct) {
        try {
          Reflect.construct(t, [])
        } catch (e) {
          var r = e
        }
        Reflect.construct(e, [], t)
      } else {
        try {
          t.call()
        } catch (e) {
          r = e
        }
        e.call(t.prototype)
      } else {
        try {
          throw Error()
        } catch (e) {
          r = e
        }
        e()
      }
    } catch (e) {
      if (e && r && "string" == typeof e.stack) {
        for (var i = e.stack.split("\n"), o = r.stack.split("\n"), a = i.length - 1, l = o.length - 1; 1 <= a && 0 <= l && i[a] !== o[l];) l--;
        for (; 1 <= a && 0 <= l; a--, l--) if (i[a] !== o[l]) {
          if (1 !== a || 1 !== l) do {
            if (a--, 0 > --l || i[a] !== o[l]) return "\n" + i[a].replace(" at new ", " at ")
          } while (1 <= a && 0 <= l);
          break
        }
      }
    } finally {
      $ = !1, Error.prepareStackTrace = n
    }
    return (e = e ? e.displayName || e.name : "") ? H(e) : ""
  }

  function Z(e) {
    switch (e.tag) {
      case 5:
        return H(e.type);
      case 16:
        return H("Lazy");
      case 13:
        return H("Suspense");
      case 19:
        return H("SuspenseList");
      case 0:
      case 2:
      case 15:
        return e = W(e.type, !1);
      case 11:
        return e = W(e.type.render, !1);
      case 22:
        return e = W(e.type.N, !1);
      case 1:
        return e = W(e.type, !0);
      default:
        return ""
    }
  }

  function q(e) {
    if (null == e) return null;
    if ("function" == typeof e) return e.displayName || e.name || null;
    if ("string" == typeof e) return e;
    switch (e) {
      case S:
        return "Fragment";
      case C:
        return "Portal";
      case T:
        return "Profiler";
      case E:
        return "StrictMode";
      case D:
        return "Suspense";
      case L:
        return "SuspenseList"
    }
    if ("object" == typeof e) switch (e.$$typeof) {
      case O:
        return (e.displayName || "Context") + ".Consumer";
      case M:
        return (e.B.displayName || "Context") + ".Provider";
      case j:
        var t = e.render;
        return t = t.displayName || t.name || "", e.displayName || ("" !== t ? "ForwardRef(" + t + ")" : "ForwardRef");
      case A:
        return q(e.type);
      case F:
        return q(e.N);
      case I:
        t = e.R, e = e._;
        try {
          return q(e(t))
        } catch (e) {
        }
    }
    return null
  }

  function X(e) {
    switch (typeof e) {
      case "boolean":
      case "number":
      case "object":
      case "string":
      case "undefined":
        return e;
      default:
        return ""
    }
  }

  function Y(e) {
    var t = e.type;
    return (e = e.nodeName) && "input" === e.toLowerCase() && ("checkbox" === t || "radio" === t)
  }

  function G(e) {
    e.U || (e.U = function (e) {
      var t = Y(e) ? "checked" : "value", n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
        r = "" + e[t];
      if (!e.hasOwnProperty(t) && void 0 !== n && "function" == typeof n.get && "function" == typeof n.set) {
        var i = n.get, o = n.set;
        return Object.defineProperty(e, t, {
          configurable: !0, get: function () {
            return i.call(this)
          }, set: function (e) {
            r = "" + e, o.call(this, e)
          }
        }), Object.defineProperty(e, t, { enumerable: n.enumerable }), {
          getValue: function () {
            return r
          }, setValue: function (e) {
            r = "" + e
          }, stopTracking: function () {
            e.U = null, delete e[t]
          }
        }
      }
    }(e))
  }

  function K(e) {
    if (!e) return !1;
    var t = e.U;
    if (!t) return !0;
    var n = t.getValue(), r = "";
    return e && (r = Y(e) ? e.checked ? "true" : "false" : e.value), (e = r) !== n && (t.setValue(e), !0)
  }

  function J(e) {
    if (void 0 === (e = e || ("undefined" != typeof document ? document : void 0))) return null;
    try {
      return e.activeElement || e.body
    } catch (t) {
      return e.body
    }
  }

  function Q(e, t) {
    var n = t.checked;
    return i({}, t, {
      defaultChecked: void 0,
      defaultValue: void 0,
      value: void 0,
      checked: null != n ? n : e.V.initialChecked
    })
  }

  function ee(e, t) {
    var n = null == t.defaultValue ? "" : t.defaultValue, r = null != t.checked ? t.checked : t.defaultChecked;
    n = X(null != t.value ? t.value : n), e.V = {
      initialChecked: r,
      initialValue: n,
      controlled: "checkbox" === t.type || "radio" === t.type ? null != t.checked : null != t.value
    }
  }

  function te(e, t) {
    null != (t = t.checked) && w(e, "checked", t, !1)
  }

  function ne(e, t) {
    te(e, t);
    var n = X(t.value), r = t.type;
    if (null != n) "number" === r ? (0 === n && "" === e.value || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n); else if ("submit" === r || "reset" === r) return void e.removeAttribute("value");
    t.hasOwnProperty("value") ? ie(e, t.type, n) : t.hasOwnProperty("defaultValue") && ie(e, t.type, X(t.defaultValue)), null == t.checked && null != t.defaultChecked && (e.defaultChecked = !!t.defaultChecked)
  }

  function re(e, t, n) {
    if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
      var r = t.type;
      if (!("submit" !== r && "reset" !== r || void 0 !== t.value && null !== t.value)) return;
      t = "" + e.V.initialValue, n || t === e.value || (e.value = t), e.defaultValue = t
    }
    "" !== (n = e.name) && (e.name = ""), e.defaultChecked = !!e.V.initialChecked, "" !== n && (e.name = n)
  }

  function ie(e, t, n) {
    "number" === t && J(e.ownerDocument) === e || (null == n ? e.defaultValue = "" + e.V.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n))
  }

  function oe(e, t) {
    return e = i({ children: void 0 }, t), (t = function (e) {
      var t = "";
      return r.Children.forEach(e, (function (e) {
        null != e && (t += e)
      })), t
    }(t.children)) && (e.children = t), e
  }

  function ae(e, t, n, r) {
    if (e = e.options, t) {
      t = {};
      for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;
      for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0)
    } else {
      for (n = "" + X(n), t = null, i = 0; i < e.length; i++) {
        if (e[i].value === n) return e[i].selected = !0, void (r && (e[i].defaultSelected = !0));
        null !== t || e[i].disabled || (t = e[i])
      }
      null !== t && (t.selected = !0)
    }
  }

  function le(e, t) {
    if (null != t.dangerouslySetInnerHTML) throw Error(a(91));
    return i({}, t, { value: void 0, defaultValue: void 0, children: "" + e.V.initialValue })
  }

  function ue(e, t) {
    var n = t.value;
    if (null == n) {
      if (n = t.children, t = t.defaultValue, null != n) {
        if (null != t) throw Error(a(92));
        if (Array.isArray(n)) {
          if (!(1 >= n.length)) throw Error(a(93));
          n = n[0]
        }
        t = n
      }
      null == t && (t = ""), n = t
    }
    e.V = { initialValue: X(n) }
  }

  function se(e, t) {
    var n = X(t.value), r = X(t.defaultValue);
    null != n && ((n = "" + n) !== e.value && (e.value = n), null == t.defaultValue && e.defaultValue !== n && (e.defaultValue = n)), null != r && (e.defaultValue = "" + r)
  }

  function ce(e) {
    var t = e.textContent;
    t === e.V.initialValue && "" !== t && null !== t && (e.value = t)
  }

  var fe = "http://www.w3.org/1999/xhtml", de = "http://www.w3.org/2000/svg";

  function he(e) {
    switch (e) {
      case "svg":
        return "http://www.w3.org/2000/svg";
      case "math":
        return "http://www.w3.org/1998/Math/MathML";
      default:
        return "http://www.w3.org/1999/xhtml"
    }
  }

  function pe(e, t) {
    return null == e || "http://www.w3.org/1999/xhtml" === e ? he(t) : "http://www.w3.org/2000/svg" === e && "foreignObject" === t ? "http://www.w3.org/1999/xhtml" : e
  }

  var ve, me, be = (me = function (e, t) {
    if (e.namespaceURI !== de || "innerHTML" in e) e.innerHTML = t; else {
      for ((ve = ve || document.createElement("div")).innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = ve.firstChild; e.firstChild;) e.removeChild(e.firstChild);
      for (; t.firstChild;) e.appendChild(t.firstChild)
    }
  }, "undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction ? function (e, t, n, r) {
    MSApp.execUnsafeLocalFunction((function () {
      return me(e, t)
    }))
  } : me);

  function ge(e, t) {
    if (t) {
      var n = e.firstChild;
      if (n && n === e.lastChild && 3 === n.nodeType) return void (n.nodeValue = t)
    }
    e.textContent = t
  }

  var ye = {
    animationIterationCount: !0,
    borderImageOutset: !0,
    borderImageSlice: !0,
    borderImageWidth: !0,
    boxFlex: !0,
    boxFlexGroup: !0,
    boxOrdinalGroup: !0,
    columnCount: !0,
    columns: !0,
    flex: !0,
    flexGrow: !0,
    flexPositive: !0,
    flexShrink: !0,
    flexNegative: !0,
    flexOrder: !0,
    gridArea: !0,
    gridRow: !0,
    gridRowEnd: !0,
    gridRowSpan: !0,
    gridRowStart: !0,
    gridColumn: !0,
    gridColumnEnd: !0,
    gridColumnSpan: !0,
    gridColumnStart: !0,
    fontWeight: !0,
    lineClamp: !0,
    lineHeight: !0,
    opacity: !0,
    order: !0,
    orphans: !0,
    tabSize: !0,
    widows: !0,
    zIndex: !0,
    zoom: !0,
    fillOpacity: !0,
    floodOpacity: !0,
    stopOpacity: !0,
    strokeDasharray: !0,
    strokeDashoffset: !0,
    strokeMiterlimit: !0,
    strokeOpacity: !0,
    strokeWidth: !0
  }, we = ["Webkit", "ms", "Moz", "O"];

  function ke(e, t, n) {
    return null == t || "boolean" == typeof t || "" === t ? "" : n || "number" != typeof t || 0 === t || ye.hasOwnProperty(e) && ye[e] ? ("" + t).trim() : t + "px"
  }

  function xe(e, t) {
    for (var n in e = e.style, t) if (t.hasOwnProperty(n)) {
      var r = 0 === n.indexOf("--"), i = ke(n, t[n], r);
      "float" === n && (n = "cssFloat"), r ? e.setProperty(n, i) : e[n] = i
    }
  }

  Object.keys(ye).forEach((function (e) {
    we.forEach((function (t) {
      t = t + e.charAt(0).toUpperCase() + e.substring(1), ye[t] = ye[e]
    }))
  }));
  var Ce = i({ menuitem: !0 }, {
    area: !0,
    base: !0,
    br: !0,
    col: !0,
    embed: !0,
    hr: !0,
    img: !0,
    input: !0,
    keygen: !0,
    link: !0,
    meta: !0,
    param: !0,
    source: !0,
    track: !0,
    wbr: !0
  });

  function Se(e, t) {
    if (t) {
      if (Ce[e] && (null != t.children || null != t.dangerouslySetInnerHTML)) throw Error(a(137, e));
      if (null != t.dangerouslySetInnerHTML) {
        if (null != t.children) throw Error(a(60));
        if ("object" != typeof t.dangerouslySetInnerHTML || !("H" in t.dangerouslySetInnerHTML)) throw Error(a(61))
      }
      if (null != t.style && "object" != typeof t.style) throw Error(a(62))
    }
  }

  function Ee(e, t) {
    if (-1 === e.indexOf("-")) return "string" == typeof t.is;
    switch (e) {
      case "annotation-xml":
      case "color-profile":
      case "font-face":
      case "font-face-src":
      case "font-face-uri":
      case "font-face-format":
      case "font-face-name":
      case "missing-glyph":
        return !1;
      default:
        return !0
    }
  }

  function Te(e) {
    return (e = e.target || e.srcElement || window).correspondingUseElement && (e = e.correspondingUseElement), 3 === e.nodeType ? e.parentNode : e
  }

  var Me = null, Oe = null, je = null;

  function De(e) {
    if (e = ei(e)) {
      if ("function" != typeof Me) throw Error(a(280));
      var t = e.stateNode;
      t && (t = ni(t), Me(e.stateNode, e.type, t))
    }
  }

  function Le(e) {
    Oe ? je ? je.push(e) : je = [e] : Oe = e
  }

  function Ae() {
    if (Oe) {
      var e = Oe, t = je;
      if (je = Oe = null, De(e), t) for (e = 0; e < t.length; e++) De(t[e])
    }
  }

  function Ie(e, t) {
    return e(t)
  }

  function Fe(e, t, n, r, i) {
    return e(t, n, r, i)
  }

  function Pe() {
  }

  var Be = Ie, Re = !1, ze = !1;

  function _e() {
    null === Oe && null === je || (Pe(), Ae())
  }

  function Ne(e, t) {
    var n = e.stateNode;
    if (null === n) return null;
    var r = ni(n);
    if (null === r) return null;
    n = r[t];
    e: switch (t) {
      case "onClick":
      case "onClickCapture":
      case "onDoubleClick":
      case "onDoubleClickCapture":
      case "onMouseDown":
      case "onMouseDownCapture":
      case "onMouseMove":
      case "onMouseMoveCapture":
      case "onMouseUp":
      case "onMouseUpCapture":
      case "onMouseEnter":
        (r = !r.disabled) || (r = !("button" === (e = e.type) || "input" === e || "select" === e || "textarea" === e)), e = !r;
        break e;
      default:
        e = !1
    }
    if (e) return null;
    if (n && "function" != typeof n) throw Error(a(231, t, typeof n));
    return n
  }

  var Ue = !1;
  if (f) try {
    var Ve = {};
    Object.defineProperty(Ve, "passive", {
      get: function () {
        Ue = !0
      }
    }), window.addEventListener("test", Ve, Ve), window.removeEventListener("test", Ve, Ve)
  } catch (me) {
    Ue = !1
  }

  function He(e, t, n, r, i, o, a, l, u) {
    var s = Array.prototype.slice.call(arguments, 3);
    try {
      t.apply(n, s)
    } catch (e) {
      this.onError(e)
    }
  }

  var $e = !1, We = null, Ze = !1, qe = null, Xe = {
    onError: function (e) {
      $e = !0, We = e
    }
  };

  function Ye(e, t, n, r, i, o, a, l, u) {
    $e = !1, We = null, He.apply(Xe, arguments)
  }

  function Ge(e) {
    var t = e, n = e;
    if (e.alternate) for (; t.return;) t = t.return; else {
      e = t;
      do {
        0 != (1026 & (t = e).flags) && (n = t.return), e = t.return
      } while (e)
    }
    return 3 === t.tag ? n : null
  }

  function Ke(e) {
    if (13 === e.tag) {
      var t = e.memoizedState;
      if (null === t && (null !== (e = e.alternate) && (t = e.memoizedState)), null !== t) return t.dehydrated
    }
    return null
  }

  function Je(e) {
    if (Ge(e) !== e) throw Error(a(188))
  }

  function Qe(e) {
    if (!(e = function (e) {
      var t = e.alternate;
      if (!t) {
        if (null === (t = Ge(e))) throw Error(a(188));
        return t !== e ? null : e
      }
      for (var n = e, r = t; ;) {
        var i = n.return;
        if (null === i) break;
        var o = i.alternate;
        if (null === o) {
          if (null !== (r = i.return)) {
            n = r;
            continue
          }
          break
        }
        if (i.child === o.child) {
          for (o = i.child; o;) {
            if (o === n) return Je(i), e;
            if (o === r) return Je(i), t;
            o = o.sibling
          }
          throw Error(a(188))
        }
        if (n.return !== r.return) n = i, r = o; else {
          for (var l = !1, u = i.child; u;) {
            if (u === n) {
              l = !0, n = i, r = o;
              break
            }
            if (u === r) {
              l = !0, r = i, n = o;
              break
            }
            u = u.sibling
          }
          if (!l) {
            for (u = o.child; u;) {
              if (u === n) {
                l = !0, n = o, r = i;
                break
              }
              if (u === r) {
                l = !0, r = o, n = i;
                break
              }
              u = u.sibling
            }
            if (!l) throw Error(a(189))
          }
        }
        if (n.alternate !== r) throw Error(a(190))
      }
      if (3 !== n.tag) throw Error(a(188));
      return n.stateNode.current === n ? e : t
    }(e))) return null;
    for (var t = e; ;) {
      if (5 === t.tag || 6 === t.tag) return t;
      if (t.child) t.child.return = t, t = t.child; else {
        if (t === e) break;
        for (; !t.sibling;) {
          if (!t.return || t.return === e) return null;
          t = t.return
        }
        t.sibling.return = t.return, t = t.sibling
      }
    }
    return null
  }

  function et(e, t) {
    for (var n = e.alternate; null !== t;) {
      if (t === e || t === n) return !0;
      t = t.return
    }
    return !1
  }

  var tt, nt, rt, it, ot = !1, at = [], lt = null, ut = null, st = null, ct = new Map, ft = new Map, dt = [],
    ht = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");

  function pt(e, t, n, r, i) {
    return { blockedOn: e, domEventName: t, eventSystemFlags: 16 | n, nativeEvent: i, targetContainers: [r] }
  }

  function vt(e, t) {
    switch (e) {
      case "focusin":
      case "focusout":
        lt = null;
        break;
      case "dragenter":
      case "dragleave":
        ut = null;
        break;
      case "mouseover":
      case "mouseout":
        st = null;
        break;
      case "pointerover":
      case "pointerout":
        ct.delete(t.pointerId);
        break;
      case "gotpointercapture":
      case "lostpointercapture":
        ft.delete(t.pointerId)
    }
  }

  function mt(e, t, n, r, i, o) {
    return null === e || e.nativeEvent !== o ? (e = pt(t, n, r, i, o), null !== t && (null !== (t = ei(t)) && nt(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, null !== i && -1 === t.indexOf(i) && t.push(i), e)
  }

  function bt(e) {
    var t = Qr(e.target);
    if (null !== t) {
      var n = Ge(t);
      if (null !== n) if (13 === (t = n.tag)) {
        if (null !== (t = Ke(n))) return e.blockedOn = t, void it(e.lanePriority, (function () {
          o.unstable_runWithPriority(e.priority, (function () {
            rt(n)
          }))
        }))
      } else if (3 === t && n.stateNode.hydrate) return void (e.blockedOn = 3 === n.tag ? n.stateNode.containerInfo : null)
    }
    e.blockedOn = null
  }

  function gt(e) {
    if (null !== e.blockedOn) return !1;
    for (var t = e.targetContainers; 0 < t.length;) {
      var n = Qt(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
      if (null !== n) return null !== (t = ei(n)) && nt(t), e.blockedOn = n, !1;
      t.shift()
    }
    return !0
  }

  function yt(e, t, n) {
    gt(e) && n.delete(t)
  }

  function wt() {
    for (ot = !1; 0 < at.length;) {
      var e = at[0];
      if (null !== e.blockedOn) {
        null !== (e = ei(e.blockedOn)) && tt(e);
        break
      }
      for (var t = e.targetContainers; 0 < t.length;) {
        var n = Qt(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
        if (null !== n) {
          e.blockedOn = n;
          break
        }
        t.shift()
      }
      null === e.blockedOn && at.shift()
    }
    null !== lt && gt(lt) && (lt = null), null !== ut && gt(ut) && (ut = null), null !== st && gt(st) && (st = null), ct.forEach(yt), ft.forEach(yt)
  }

  function kt(e, t) {
    e.blockedOn === t && (e.blockedOn = null, ot || (ot = !0, o.unstable_scheduleCallback(o.unstable_NormalPriority, wt)))
  }

  function xt(e) {
    function t(t) {
      return kt(t, e)
    }

    if (0 < at.length) {
      kt(at[0], e);
      for (var n = 1; n < at.length; n++) {
        var r = at[n];
        r.blockedOn === e && (r.blockedOn = null)
      }
    }
    for (null !== lt && kt(lt, e), null !== ut && kt(ut, e), null !== st && kt(st, e), ct.forEach(t), ft.forEach(t), n = 0; n < dt.length; n++) (r = dt[n]).blockedOn === e && (r.blockedOn = null);
    for (; 0 < dt.length && null === (n = dt[0]).blockedOn;) bt(n), null === n.blockedOn && dt.shift()
  }

  function Ct(e, t) {
    var n = {};
    return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n
  }

  var St = {
    animationend: Ct("Animation", "AnimationEnd"),
    animationiteration: Ct("Animation", "AnimationIteration"),
    animationstart: Ct("Animation", "AnimationStart"),
    transitionend: Ct("Transition", "TransitionEnd")
  }, Et = {}, Tt = {};

  function Mt(e) {
    if (Et[e]) return Et[e];
    if (!St[e]) return e;
    var t, n = St[e];
    for (t in n) if (n.hasOwnProperty(t) && t in Tt) return Et[e] = n[t];
    return e
  }

  f && (Tt = document.createElement("div").style, "AnimationEvent" in window || (delete St.animationend.animation, delete St.animationiteration.animation, delete St.animationstart.animation), "TransitionEvent" in window || delete St.transitionend.transition);
  var Ot = Mt("animationend"), jt = Mt("animationiteration"), Dt = Mt("animationstart"), Lt = Mt("transitionend"),
    At = new Map, It = new Map,
    Ft = ["abort", "abort", Ot, "animationEnd", jt, "animationIteration", Dt, "animationStart", "canplay", "canPlay", "canplaythrough", "canPlayThrough", "durationchange", "durationChange", "emptied", "emptied", "encrypted", "encrypted", "ended", "ended", "error", "error", "gotpointercapture", "gotPointerCapture", "load", "load", "loadeddata", "loadedData", "loadedmetadata", "loadedMetadata", "loadstart", "loadStart", "lostpointercapture", "lostPointerCapture", "playing", "playing", "progress", "progress", "seeking", "seeking", "stalled", "stalled", "suspend", "suspend", "timeupdate", "timeUpdate", Lt, "transitionEnd", "waiting", "waiting"];

  function Pt(e, t) {
    for (var n = 0; n < e.length; n += 2) {
      var r = e[n], i = e[n + 1];
      i = "on" + (i[0].toUpperCase() + i.slice(1)), It.set(r, t), At.set(r, i), s(i, [r])
    }
  }

  (0, o.unstable_now)();
  var Bt = 8;

  function Rt(e) {
    if (0 != (1 & e)) return Bt = 15, 1;
    if (0 != (2 & e)) return Bt = 14, 2;
    if (0 != (4 & e)) return Bt = 13, 4;
    var t = 24 & e;
    return 0 !== t ? (Bt = 12, t) : 0 != (32 & e) ? (Bt = 11, 32) : 0 !== (t = 192 & e) ? (Bt = 10, t) : 0 != (256 & e) ? (Bt = 9, 256) : 0 !== (t = 3584 & e) ? (Bt = 8, t) : 0 != (4096 & e) ? (Bt = 7, 4096) : 0 !== (t = 4186112 & e) ? (Bt = 6, t) : 0 !== (t = 62914560 & e) ? (Bt = 5, t) : 67108864 & e ? (Bt = 4, 67108864) : 0 != (134217728 & e) ? (Bt = 3, 134217728) : 0 !== (t = 805306368 & e) ? (Bt = 2, t) : 0 != (1073741824 & e) ? (Bt = 1, 1073741824) : (Bt = 8, e)
  }

  function zt(e, t) {
    var n = e.pendingLanes;
    if (0 === n) return Bt = 0;
    var r = 0, i = 0, o = e.expiredLanes, a = e.suspendedLanes, l = e.pingedLanes;
    if (0 !== o) r = o, i = Bt = 15; else if (0 !== (o = 134217727 & n)) {
      var u = o & ~a;
      0 !== u ? (r = Rt(u), i = Bt) : 0 !== (l &= o) && (r = Rt(l), i = Bt)
    } else 0 !== (o = n & ~a) ? (r = Rt(o), i = Bt) : 0 !== l && (r = Rt(l), i = Bt);
    if (0 === r) return 0;
    if (r = n & ((0 > (r = 31 - $t(r)) ? 0 : 1 << r) << 1) - 1, 0 !== t && t !== r && 0 == (t & a)) {
      if (Rt(t), i <= Bt) return t;
      Bt = i
    }
    if (0 !== (t = e.entangledLanes)) for (e = e.entanglements, t &= r; 0 < t;) i = 1 << (n = 31 - $t(t)), r |= e[n], t &= ~i;
    return r
  }

  function _t(e) {
    return 0 !== (e = -1073741825 & e.pendingLanes) ? e : 1073741824 & e ? 1073741824 : 0
  }

  function Nt(e, t) {
    switch (e) {
      case 15:
        return 1;
      case 14:
        return 2;
      case 12:
        return 0 === (e = Ut(24 & ~t)) ? Nt(10, t) : e;
      case 10:
        return 0 === (e = Ut(192 & ~t)) ? Nt(8, t) : e;
      case 8:
        return 0 === (e = Ut(3584 & ~t)) && (0 === (e = Ut(4186112 & ~t)) && (e = 512)), e;
      case 2:
        return 0 === (t = Ut(805306368 & ~t)) && (t = 268435456), t
    }
    throw Error(a(358, e))
  }

  function Ut(e) {
    return e & -e
  }

  function Vt(e) {
    for (var t = [], n = 0; 31 > n; n++) t.push(e);
    return t
  }

  function Ht(e, t, n) {
    e.pendingLanes |= t;
    var r = t - 1;
    e.suspendedLanes &= r, e.pingedLanes &= r, (e = e.eventTimes)[t = 31 - $t(t)] = n
  }

  var $t = Math.clz32 ? Math.clz32 : function (e) {
    return 0 === e ? 32 : 31 - (Wt(e) / Zt | 0) | 0
  }, Wt = Math.log, Zt = Math.LN2;
  var qt = o.unstable_UserBlockingPriority, Xt = o.unstable_runWithPriority, Yt = !0;

  function Gt(e, t, n, r) {
    Re || Pe();
    var i = Jt, o = Re;
    Re = !0;
    try {
      Fe(i, e, t, n, r)
    } finally {
      (Re = o) || _e()
    }
  }

  function Kt(e, t, n, r) {
    Xt(qt, Jt.bind(null, e, t, n, r))
  }

  function Jt(e, t, n, r) {
    var i;
    if (Yt) if ((i = 0 == (4 & t)) && 0 < at.length && -1 < ht.indexOf(e)) e = pt(null, e, t, n, r), at.push(e); else {
      var o = Qt(e, t, n, r);
      if (null === o) i && vt(e, r); else {
        if (i) {
          if (-1 < ht.indexOf(e)) return e = pt(o, e, t, n, r), void at.push(e);
          if (function (e, t, n, r, i) {
            switch (t) {
              case "focusin":
                return lt = mt(lt, e, t, n, r, i), !0;
              case "dragenter":
                return ut = mt(ut, e, t, n, r, i), !0;
              case "mouseover":
                return st = mt(st, e, t, n, r, i), !0;
              case "pointerover":
                var o = i.pointerId;
                return ct.set(o, mt(ct.get(o) || null, e, t, n, r, i)), !0;
              case "gotpointercapture":
                return o = i.pointerId, ft.set(o, mt(ft.get(o) || null, e, t, n, r, i)), !0
            }
            return !1
          }(o, e, t, n, r)) return;
          vt(e, r)
        }
        Ar(e, t, r, null, n)
      }
    }
  }

  function Qt(e, t, n, r) {
    var i = Te(r);
    if (null !== (i = Qr(i))) {
      var o = Ge(i);
      if (null === o) i = null; else {
        var a = o.tag;
        if (13 === a) {
          if (null !== (i = Ke(o))) return i;
          i = null
        } else if (3 === a) {
          if (o.stateNode.hydrate) return 3 === o.tag ? o.stateNode.containerInfo : null;
          i = null
        } else o !== i && (i = null)
      }
    }
    return Ar(e, t, r, i, n), null
  }

  var en = null, tn = null, nn = null;

  function rn() {
    if (nn) return nn;
    var e, t, n = tn, r = n.length, i = "value" in en ? en.value : en.textContent, o = i.length;
    for (e = 0; e < r && n[e] === i[e]; e++);
    var a = r - e;
    for (t = 1; t <= a && n[r - t] === i[o - t]; t++);
    return nn = i.slice(e, 1 < t ? 1 - t : void 0)
  }

  function on(e) {
    var t = e.keyCode;
    return "charCode" in e ? 0 === (e = e.charCode) && 13 === t && (e = 13) : e = t, 10 === e && (e = 13), 32 <= e || 13 === e ? e : 0
  }

  function an() {
    return !0
  }

  function ln() {
    return !1
  }

  function un(e) {
    function t(t, n, r, i, o) {
      for (var a in this.$ = t, this.W = r, this.type = n, this.nativeEvent = i, this.target = o, this.currentTarget = null, e) e.hasOwnProperty(a) && (t = e[a], this[a] = t ? t(i) : i[a]);
      return this.isDefaultPrevented = (null != i.defaultPrevented ? i.defaultPrevented : !1 === i.returnValue) ? an : ln, this.isPropagationStopped = ln, this
    }

    return i(t.prototype, {
      preventDefault: function () {
        this.defaultPrevented = !0;
        var e = this.nativeEvent;
        e && (e.preventDefault ? e.preventDefault() : "unknown" != typeof e.returnValue && (e.returnValue = !1), this.isDefaultPrevented = an)
      }, stopPropagation: function () {
        var e = this.nativeEvent;
        e && (e.stopPropagation ? e.stopPropagation() : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0), this.isPropagationStopped = an)
      }, persist: function () {
      }, isPersistent: an
    }), t
  }

  var sn, cn, fn, dn = {
    eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function (e) {
      return e.timeStamp || Date.now()
    }, defaultPrevented: 0, isTrusted: 0
  }, hn = un(dn), pn = i({}, dn, { view: 0, detail: 0 }), vn = un(pn), mn = i({}, pn, {
    screenX: 0,
    screenY: 0,
    clientX: 0,
    clientY: 0,
    pageX: 0,
    pageY: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    getModifierState: Mn,
    button: 0,
    buttons: 0,
    relatedTarget: function (e) {
      return void 0 === e.relatedTarget ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget
    },
    movementX: function (e) {
      return "movementX" in e ? e.movementX : (e !== fn && (fn && "mousemove" === e.type ? (sn = e.screenX - fn.screenX, cn = e.screenY - fn.screenY) : cn = sn = 0, fn = e), sn)
    },
    movementY: function (e) {
      return "movementY" in e ? e.movementY : cn
    }
  }), bn = un(mn), gn = un(i({}, mn, { dataTransfer: 0 })), yn = un(i({}, pn, { relatedTarget: 0 })),
    wn = un(i({}, dn, { animationName: 0, elapsedTime: 0, pseudoElement: 0 })), kn = un(i({}, dn, {
      clipboardData: function (e) {
        return "clipboardData" in e ? e.clipboardData : window.clipboardData
      }
    })), xn = un(i({}, dn, { data: 0 })), Cn = {
      Esc: "Escape",
      Spacebar: " ",
      Left: "ArrowLeft",
      Up: "ArrowUp",
      Right: "ArrowRight",
      Down: "ArrowDown",
      Del: "Delete",
      Win: "OS",
      Menu: "ContextMenu",
      Apps: "ContextMenu",
      Scroll: "ScrollLock",
      MozPrintableKey: "Unidentified"
    }, Sn = {
      8: "Backspace",
      9: "Tab",
      12: "Clear",
      13: "Enter",
      16: "Shift",
      17: "Control",
      18: "Alt",
      19: "Pause",
      20: "CapsLock",
      27: "Escape",
      32: " ",
      33: "PageUp",
      34: "PageDown",
      35: "End",
      36: "Home",
      37: "ArrowLeft",
      38: "ArrowUp",
      39: "ArrowRight",
      40: "ArrowDown",
      45: "Insert",
      46: "Delete",
      112: "F1",
      113: "F2",
      114: "F3",
      115: "F4",
      116: "F5",
      117: "F6",
      118: "F7",
      119: "F8",
      120: "F9",
      121: "F10",
      122: "F11",
      123: "F12",
      144: "NumLock",
      145: "ScrollLock",
      224: "Meta"
    }, En = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };

  function Tn(e) {
    var t = this.nativeEvent;
    return t.getModifierState ? t.getModifierState(e) : !!(e = En[e]) && !!t[e]
  }

  function Mn() {
    return Tn
  }

  var On = un(i({}, pn, {
    key: function (e) {
      if (e.key) {
        var t = Cn[e.key] || e.key;
        if ("Unidentified" !== t) return t
      }
      return "keypress" === e.type ? 13 === (e = on(e)) ? "Enter" : String.fromCharCode(e) : "keydown" === e.type || "keyup" === e.type ? Sn[e.keyCode] || "Unidentified" : ""
    },
    code: 0,
    location: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    repeat: 0,
    locale: 0,
    getModifierState: Mn,
    charCode: function (e) {
      return "keypress" === e.type ? on(e) : 0
    },
    keyCode: function (e) {
      return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0
    },
    which: function (e) {
      return "keypress" === e.type ? on(e) : "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0
    }
  })), jn = un(i({}, mn, {
    pointerId: 0,
    width: 0,
    height: 0,
    pressure: 0,
    tangentialPressure: 0,
    tiltX: 0,
    tiltY: 0,
    twist: 0,
    pointerType: 0,
    isPrimary: 0
  })), Dn = un(i({}, pn, {
    touches: 0,
    targetTouches: 0,
    changedTouches: 0,
    altKey: 0,
    metaKey: 0,
    ctrlKey: 0,
    shiftKey: 0,
    getModifierState: Mn
  })), Ln = un(i({}, dn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 })), An = un(i({}, mn, {
    deltaX: function (e) {
      return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0
    }, deltaY: function (e) {
      return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0
    }, deltaZ: 0, deltaMode: 0
  })), In = [9, 13, 27, 32], Fn = f && "CompositionEvent" in window, Pn = null;
  f && "documentMode" in document && (Pn = document.documentMode);
  var Bn = f && "TextEvent" in window && !Pn, Rn = f && (!Fn || Pn && 8 < Pn && 11 >= Pn),
    zn = String.fromCharCode(32), _n = !1;

  function Nn(e, t) {
    switch (e) {
      case "keyup":
        return -1 !== In.indexOf(t.keyCode);
      case "keydown":
        return 229 !== t.keyCode;
      case "keypress":
      case "mousedown":
      case "focusout":
        return !0;
      default:
        return !1
    }
  }

  function Un(e) {
    return "object" == typeof (e = e.detail) && "data" in e ? e.data : null
  }

  var Vn = !1;
  var Hn = {
    color: !0,
    date: !0,
    datetime: !0,
    "datetime-local": !0,
    email: !0,
    month: !0,
    number: !0,
    password: !0,
    range: !0,
    search: !0,
    tel: !0,
    text: !0,
    time: !0,
    url: !0,
    week: !0
  };

  function $n(e) {
    var t = e && e.nodeName && e.nodeName.toLowerCase();
    return "input" === t ? !!Hn[e.type] : "textarea" === t
  }

  function Wn(e, t, n, r) {
    Le(r), 0 < (t = Fr(t, "onChange")).length && (n = new hn("onChange", "change", null, n, r), e.push({
      event: n,
      listeners: t
    }))
  }

  var Zn = null, qn = null;

  function Xn(e) {
    Tr(e, 0)
  }

  function Yn(e) {
    if (K(ti(e))) return e
  }

  function Gn(e, t) {
    if ("change" === e) return t
  }

  var Kn = !1;
  if (f) {
    var Jn;
    if (f) {
      var Qn = "oninput" in document;
      if (!Qn) {
        var er = document.createElement("div");
        er.setAttribute("oninput", "return;"), Qn = "function" == typeof er.oninput
      }
      Jn = Qn
    } else Jn = !1;
    Kn = Jn && (!document.documentMode || 9 < document.documentMode)
  }

  function tr() {
    Zn && (Zn.detachEvent("onpropertychange", nr), qn = Zn = null)
  }

  function nr(e) {
    if ("value" === e.propertyName && Yn(qn)) {
      var t = [];
      if (Wn(t, qn, e, Te(e)), e = Xn, Re) e(t); else {
        Re = !0;
        try {
          Ie(e, t)
        } finally {
          Re = !1, _e()
        }
      }
    }
  }

  function rr(e, t, n) {
    "focusin" === e ? (tr(), qn = n, (Zn = t).attachEvent("onpropertychange", nr)) : "focusout" === e && tr()
  }

  function ir(e) {
    if ("selectionchange" === e || "keyup" === e || "keydown" === e) return Yn(qn)
  }

  function or(e, t) {
    if ("click" === e) return Yn(t)
  }

  function ar(e, t) {
    if ("input" === e || "change" === e) return Yn(t)
  }

  var lr = "function" == typeof Object.is ? Object.is : function (e, t) {
    return e === t && (0 !== e || 1 / e == 1 / t) || e != e && t != t
  }, ur = Object.prototype.hasOwnProperty;

  function sr(e, t) {
    if (lr(e, t)) return !0;
    if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1;
    var n = Object.keys(e), r = Object.keys(t);
    if (n.length !== r.length) return !1;
    for (r = 0; r < n.length; r++) if (!ur.call(t, n[r]) || !lr(e[n[r]], t[n[r]])) return !1;
    return !0
  }

  function cr(e) {
    for (; e && e.firstChild;) e = e.firstChild;
    return e
  }

  function fr(e, t) {
    var n, r = cr(e);
    for (e = 0; r;) {
      if (3 === r.nodeType) {
        if (n = e + r.textContent.length, e <= t && n >= t) return { node: r, offset: t - e };
        e = n
      }
      e: {
        for (; r;) {
          if (r.nextSibling) {
            r = r.nextSibling;
            break e
          }
          r = r.parentNode
        }
        r = void 0
      }
      r = cr(r)
    }
  }

  function dr(e, t) {
    return !(!e || !t) && (e === t || (!e || 3 !== e.nodeType) && (t && 3 === t.nodeType ? dr(e, t.parentNode) : "contains" in e ? e.contains(t) : !!e.compareDocumentPosition && !!(16 & e.compareDocumentPosition(t))))
  }

  function hr() {
    for (var e = window, t = J(); t instanceof e.HTMLIFrameElement;) {
      try {
        var n = "string" == typeof t.contentWindow.location.href
      } catch (e) {
        n = !1
      }
      if (!n) break;
      t = J((e = t.contentWindow).document)
    }
    return t
  }

  function pr(e) {
    var t = e && e.nodeName && e.nodeName.toLowerCase();
    return t && ("input" === t && ("text" === e.type || "search" === e.type || "tel" === e.type || "url" === e.type || "password" === e.type) || "textarea" === t || "true" === e.contentEditable)
  }

  var vr = f && "documentMode" in document && 11 >= document.documentMode, mr = null, br = null, gr = null, yr = !1;

  function wr(e, t, n) {
    var r = n.window === n ? n.document : 9 === n.nodeType ? n : n.ownerDocument;
    yr || null == mr || mr !== J(r) || ("selectionStart" in (r = mr) && pr(r) ? r = {
      start: r.selectionStart,
      end: r.selectionEnd
    } : r = {
      anchorNode: (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection()).anchorNode,
      anchorOffset: r.anchorOffset,
      focusNode: r.focusNode,
      focusOffset: r.focusOffset
    }, gr && sr(gr, r) || (gr = r, 0 < (r = Fr(br, "onSelect")).length && (t = new hn("onSelect", "select", null, t, n), e.push({
      event: t,
      listeners: r
    }), t.target = mr)))
  }

  Pt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "), 0), Pt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "), 1), Pt(Ft, 2);
  for (var kr = "change selectionchange textInput compositionstart compositionend compositionupdate".split(" "), xr = 0; xr < kr.length; xr++) It.set(kr[xr], 0);
  c("onMouseEnter", ["mouseout", "mouseover"]), c("onMouseLeave", ["mouseout", "mouseover"]), c("onPointerEnter", ["pointerout", "pointerover"]), c("onPointerLeave", ["pointerout", "pointerover"]), s("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), s("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), s("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), s("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), s("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), s("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
  var Cr = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
    Sr = new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));

  function Er(e, t, n) {
    var r = e.type || "unknown-event";
    e.currentTarget = n, function (e, t, n, r, i, o, l, u, s) {
      if (Ye.apply(this, arguments), $e) {
        if (!$e) throw Error(a(198));
        var c = We;
        $e = !1, We = null, Ze || (Ze = !0, qe = c)
      }
    }(r, t, void 0, e), e.currentTarget = null
  }

  function Tr(e, t) {
    t = 0 != (4 & t);
    for (var n = 0; n < e.length; n++) {
      var r = e[n], i = r.event;
      r = r.listeners;
      e: {
        var o = void 0;
        if (t) for (var a = r.length - 1; 0 <= a; a--) {
          var l = r[a], u = l.instance, s = l.currentTarget;
          if (l = l.listener, u !== o && i.isPropagationStopped()) break e;
          Er(i, l, s), o = u
        } else for (a = 0; a < r.length; a++) {
          if (u = (l = r[a]).instance, s = l.currentTarget, l = l.listener, u !== o && i.isPropagationStopped()) break e;
          Er(i, l, s), o = u
        }
      }
    }
    if (Ze) throw e = qe, Ze = !1, qe = null, e
  }

  function Mr(e, t) {
    var n = ri(t), r = e + "__bubble";
    n.has(r) || (Lr(t, e, 2, !1), n.add(r))
  }

  var Or = "_reactListening" + Math.random().toString(36).slice(2);

  function jr(e) {
    e[Or] || (e[Or] = !0, l.forEach((function (t) {
      Sr.has(t) || Dr(t, !1, e, null), Dr(t, !0, e, null)
    })))
  }

  function Dr(e, t, n, r) {
    var i = 4 < arguments.length && void 0 !== arguments[4] ? arguments[4] : 0, o = n;
    if ("selectionchange" === e && 9 !== n.nodeType && (o = n.ownerDocument), null !== r && !t && Sr.has(e)) {
      if ("scroll" !== e) return;
      i |= 2, o = r
    }
    var a = ri(o), l = e + "__" + (t ? "capture" : "bubble");
    a.has(l) || (t && (i |= 4), Lr(o, e, i, t), a.add(l))
  }

  function Lr(e, t, n, r) {
    var i = It.get(t);
    switch (void 0 === i ? 2 : i) {
      case 0:
        i = Gt;
        break;
      case 1:
        i = Kt;
        break;
      default:
        i = Jt
    }
    n = i.bind(null, t, n, e), i = void 0, !Ue || "touchstart" !== t && "touchmove" !== t && "wheel" !== t || (i = !0), r ? void 0 !== i ? e.addEventListener(t, n, {
      capture: !0,
      passive: i
    }) : e.addEventListener(t, n, !0) : void 0 !== i ? e.addEventListener(t, n, { passive: i }) : e.addEventListener(t, n, !1)
  }

  function Ar(e, t, n, r, i) {
    var o = r;
    if (0 == (1 & t) && 0 == (2 & t) && null !== r) e: for (; ;) {
      if (null === r) return;
      var a = r.tag;
      if (3 === a || 4 === a) {
        var l = r.stateNode.containerInfo;
        if (l === i || 8 === l.nodeType && l.parentNode === i) break;
        if (4 === a) for (a = r.return; null !== a;) {
          var u = a.tag;
          if ((3 === u || 4 === u) && ((u = a.stateNode.containerInfo) === i || 8 === u.nodeType && u.parentNode === i)) return;
          a = a.return
        }
        for (; null !== l;) {
          if (null === (a = Qr(l))) return;
          if (5 === (u = a.tag) || 6 === u) {
            r = o = a;
            continue e
          }
          l = l.parentNode
        }
      }
      r = r.return
    }
    !function (e, t, n) {
      if (ze) return e(t, n);
      ze = !0;
      try {
        Be(e, t, n)
      } finally {
        ze = !1, _e()
      }
    }((function () {
      var r = o, i = Te(n), a = [];
      e: {
        var l = At.get(e);
        if (void 0 !== l) {
          var u = hn, s = e;
          switch (e) {
            case "keypress":
              if (0 === on(n)) break e;
            case "keydown":
            case "keyup":
              u = On;
              break;
            case "focusin":
              s = "focus", u = yn;
              break;
            case "focusout":
              s = "blur", u = yn;
              break;
            case "beforeblur":
            case "afterblur":
              u = yn;
              break;
            case "click":
              if (2 === n.button) break e;
            case "auxclick":
            case "dblclick":
            case "mousedown":
            case "mousemove":
            case "mouseup":
            case "mouseout":
            case "mouseover":
            case "contextmenu":
              u = bn;
              break;
            case "drag":
            case "dragend":
            case "dragenter":
            case "dragexit":
            case "dragleave":
            case "dragover":
            case "dragstart":
            case "drop":
              u = gn;
              break;
            case "touchcancel":
            case "touchend":
            case "touchmove":
            case "touchstart":
              u = Dn;
              break;
            case Ot:
            case jt:
            case Dt:
              u = wn;
              break;
            case Lt:
              u = Ln;
              break;
            case "scroll":
              u = vn;
              break;
            case "wheel":
              u = An;
              break;
            case "copy":
            case "cut":
            case "paste":
              u = kn;
              break;
            case "gotpointercapture":
            case "lostpointercapture":
            case "pointercancel":
            case "pointerdown":
            case "pointermove":
            case "pointerout":
            case "pointerover":
            case "pointerup":
              u = jn
          }
          var c = 0 != (4 & t), f = !c && "scroll" === e, d = c ? null !== l ? l + "Capture" : null : l;
          c = [];
          for (var h, p = r; null !== p;) {
            var v = (h = p).stateNode;
            if (5 === h.tag && null !== v && (h = v, null !== d && (null != (v = Ne(p, d)) && c.push(Ir(p, v, h)))), f) break;
            p = p.return
          }
          0 < c.length && (l = new u(l, s, null, n, i), a.push({ event: l, listeners: c }))
        }
      }
      if (0 == (7 & t)) {
        if (u = "mouseout" === e || "pointerout" === e, (!(l = "mouseover" === e || "pointerover" === e) || 0 != (16 & t) || !(s = n.relatedTarget || n.fromElement) || !Qr(s) && !s[Kr]) && (u || l) && (l = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, u ? (u = r, null !== (s = (s = n.relatedTarget || n.toElement) ? Qr(s) : null) && (s !== (f = Ge(s)) || 5 !== s.tag && 6 !== s.tag) && (s = null)) : (u = null, s = r), u !== s)) {
          if (c = bn, v = "onMouseLeave", d = "onMouseEnter", p = "mouse", "pointerout" !== e && "pointerover" !== e || (c = jn, v = "onPointerLeave", d = "onPointerEnter", p = "pointer"), f = null == u ? l : ti(u), h = null == s ? l : ti(s), (l = new c(v, p + "leave", u, n, i)).target = f, l.relatedTarget = h, v = null, Qr(i) === r && ((c = new c(d, p + "enter", s, n, i)).target = h, c.relatedTarget = f, v = c), f = v, u && s) e: {
            for (d = s, p = 0, h = c = u; h; h = Pr(h)) p++;
            for (h = 0, v = d; v; v = Pr(v)) h++;
            for (; 0 < p - h;) c = Pr(c), p--;
            for (; 0 < h - p;) d = Pr(d), h--;
            for (; p--;) {
              if (c === d || null !== d && c === d.alternate) break e;
              c = Pr(c), d = Pr(d)
            }
            c = null
          } else c = null;
          null !== u && Br(a, l, u, c, !1), null !== s && null !== f && Br(a, f, s, c, !0)
        }
        if ("select" === (u = (l = r ? ti(r) : window).nodeName && l.nodeName.toLowerCase()) || "input" === u && "file" === l.type) var m = Gn; else if ($n(l)) if (Kn) m = ar; else {
          m = ir;
          var b = rr
        } else (u = l.nodeName) && "input" === u.toLowerCase() && ("checkbox" === l.type || "radio" === l.type) && (m = or);
        switch (m && (m = m(e, r)) ? Wn(a, m, n, i) : (b && b(e, l, r), "focusout" === e && (b = l.V) && b.controlled && "number" === l.type && ie(l, "number", l.value)), b = r ? ti(r) : window, e) {
          case "focusin":
            ($n(b) || "true" === b.contentEditable) && (mr = b, br = r, gr = null);
            break;
          case "focusout":
            gr = br = mr = null;
            break;
          case "mousedown":
            yr = !0;
            break;
          case "contextmenu":
          case "mouseup":
          case "dragend":
            yr = !1, wr(a, n, i);
            break;
          case "selectionchange":
            if (vr) break;
          case "keydown":
          case "keyup":
            wr(a, n, i)
        }
        var g;
        if (Fn) e: {
          switch (e) {
            case "compositionstart":
              var y = "onCompositionStart";
              break e;
            case "compositionend":
              y = "onCompositionEnd";
              break e;
            case "compositionupdate":
              y = "onCompositionUpdate";
              break e
          }
          y = void 0
        } else Vn ? Nn(e, n) && (y = "onCompositionEnd") : "keydown" === e && 229 === n.keyCode && (y = "onCompositionStart");
        y && (Rn && "ko" !== n.locale && (Vn || "onCompositionStart" !== y ? "onCompositionEnd" === y && Vn && (g = rn()) : (tn = "value" in (en = i) ? en.value : en.textContent, Vn = !0)), 0 < (b = Fr(r, y)).length && (y = new xn(y, e, null, n, i), a.push({
          event: y,
          listeners: b
        }), g ? y.data = g : null !== (g = Un(n)) && (y.data = g))), (g = Bn ? function (e, t) {
          switch (e) {
            case "compositionend":
              return Un(t);
            case "keypress":
              return 32 !== t.which ? null : (_n = !0, zn);
            case "textInput":
              return (e = t.data) === zn && _n ? null : e;
            default:
              return null
          }
        }(e, n) : function (e, t) {
          if (Vn) return "compositionend" === e || !Fn && Nn(e, t) ? (e = rn(), nn = tn = en = null, Vn = !1, e) : null;
          switch (e) {
            case "paste":
              return null;
            case "keypress":
              if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {
                if (t.char && 1 < t.char.length) return t.char;
                if (t.which) return String.fromCharCode(t.which)
              }
              return null;
            case "compositionend":
              return Rn && "ko" !== t.locale ? null : t.data;
            default:
              return null
          }
        }(e, n)) && (0 < (r = Fr(r, "onBeforeInput")).length && (i = new xn("onBeforeInput", "beforeinput", null, n, i), a.push({
          event: i,
          listeners: r
        }), i.data = g))
      }
      Tr(a, t)
    }))
  }

  function Ir(e, t, n) {
    return { instance: e, listener: t, currentTarget: n }
  }

  function Fr(e, t) {
    for (var n = t + "Capture", r = []; null !== e;) {
      var i = e, o = i.stateNode;
      5 === i.tag && null !== o && (i = o, null != (o = Ne(e, n)) && r.unshift(Ir(e, o, i)), null != (o = Ne(e, t)) && r.push(Ir(e, o, i))), e = e.return
    }
    return r
  }

  function Pr(e) {
    if (null === e) return null;
    do {
      e = e.return
    } while (e && 5 !== e.tag);
    return e || null
  }

  function Br(e, t, n, r, i) {
    for (var o = t.$, a = []; null !== n && n !== r;) {
      var l = n, u = l.alternate, s = l.stateNode;
      if (null !== u && u === r) break;
      5 === l.tag && null !== s && (l = s, i ? null != (u = Ne(n, o)) && a.unshift(Ir(n, u, l)) : i || null != (u = Ne(n, o)) && a.push(Ir(n, u, l))), n = n.return
    }
    0 !== a.length && e.push({ event: t, listeners: a })
  }

  function Rr() {
  }

  var zr = null, _r = null;

  function Nr(e, t) {
    switch (e) {
      case "button":
      case "input":
      case "select":
      case "textarea":
        return !!t.autoFocus
    }
    return !1
  }

  function Ur(e, t) {
    return "textarea" === e || "option" === e || "noscript" === e || "string" == typeof t.children || "number" == typeof t.children || "object" == typeof t.dangerouslySetInnerHTML && null !== t.dangerouslySetInnerHTML && null != t.dangerouslySetInnerHTML.H
  }

  var Vr = "function" == typeof setTimeout ? setTimeout : void 0,
    Hr = "function" == typeof clearTimeout ? clearTimeout : void 0;

  function $r(e) {
    1 === e.nodeType ? e.textContent = "" : 9 === e.nodeType && (null != (e = e.body) && (e.textContent = ""))
  }

  function Wr(e) {
    for (; null != e; e = e.nextSibling) {
      var t = e.nodeType;
      if (1 === t || 3 === t) break
    }
    return e
  }

  function Zr(e) {
    e = e.previousSibling;
    for (var t = 0; e;) {
      if (8 === e.nodeType) {
        var n = e.data;
        if ("$" === n || "$!" === n || "$?" === n) {
          if (0 === t) return e;
          t--
        } else "/$" === n && t++
      }
      e = e.previousSibling
    }
    return null
  }

  var qr = 0;
  var Xr = Math.random().toString(36).slice(2), Yr = "__reactFiber$" + Xr, Gr = "__reactProps$" + Xr,
    Kr = "__reactContainer$" + Xr, Jr = "__reactEvents$" + Xr;

  function Qr(e) {
    var t = e[Yr];
    if (t) return t;
    for (var n = e.parentNode; n;) {
      if (t = n[Kr] || n[Yr]) {
        if (n = t.alternate, null !== t.child || null !== n && null !== n.child) for (e = Zr(e); null !== e;) {
          if (n = e[Yr]) return n;
          e = Zr(e)
        }
        return t
      }
      n = (e = n).parentNode
    }
    return null
  }

  function ei(e) {
    return !(e = e[Yr] || e[Kr]) || 5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag ? null : e
  }

  function ti(e) {
    if (5 === e.tag || 6 === e.tag) return e.stateNode;
    throw Error(a(33))
  }

  function ni(e) {
    return e[Gr] || null
  }

  function ri(e) {
    var t = e[Jr];
    return void 0 === t && (t = e[Jr] = new Set), t
  }

  var ii = [], oi = -1;

  function ai(e) {
    return { current: e }
  }

  function li(e) {
    0 > oi || (e.current = ii[oi], ii[oi] = null, oi--)
  }

  function ui(e, t) {
    oi++, ii[oi] = e.current, e.current = t
  }

  var si = {}, ci = ai(si), fi = ai(!1), di = si;

  function hi(e, t) {
    var n = e.type.contextTypes;
    if (!n) return si;
    var r = e.stateNode;
    if (r && r.Z === t) return r.X;
    var i, o = {};
    for (i in n) o[i] = t[i];
    return r && ((e = e.stateNode).Z = t, e.X = o), o
  }

  function pi(e) {
    return null != (e = e.childContextTypes)
  }

  function vi() {
    li(fi), li(ci)
  }

  function mi(e, t, n) {
    if (ci.current !== si) throw Error(a(168));
    ui(ci, t), ui(fi, n)
  }

  function bi(e, t, n) {
    var r = e.stateNode;
    if (e = t.childContextTypes, "function" != typeof r.getChildContext) return n;
    for (var o in r = r.getChildContext()) if (!(o in e)) throw Error(a(108, q(t) || "Unknown", o));
    return i({}, n, r)
  }

  function gi(e) {
    return e = (e = e.stateNode) && e.Y || si, di = ci.current, ui(ci, e), ui(fi, fi.current), !0
  }

  function yi(e, t, n) {
    var r = e.stateNode;
    if (!r) throw Error(a(169));
    n ? (e = bi(e, t, di), r.Y = e, li(fi), li(ci), ui(ci, e)) : li(fi), ui(fi, n)
  }

  var wi = null, ki = null, xi = o.unstable_runWithPriority, Ci = o.unstable_scheduleCallback,
    Si = o.unstable_cancelCallback, Ei = o.unstable_shouldYield, Ti = o.unstable_requestPaint, Mi = o.unstable_now,
    Oi = o.unstable_getCurrentPriorityLevel, ji = o.unstable_ImmediatePriority,
    Di = o.unstable_UserBlockingPriority, Li = o.unstable_NormalPriority, Ai = o.unstable_LowPriority,
    Ii = o.unstable_IdlePriority, Fi = {}, Pi = void 0 !== Ti ? Ti : function () {
    }, Bi = null, Ri = null, zi = !1, _i = Mi(), Ni = 1e4 > _i ? Mi : function () {
      return Mi() - _i
    };

  function Ui() {
    switch (Oi()) {
      case ji:
        return 99;
      case Di:
        return 98;
      case Li:
        return 97;
      case Ai:
        return 96;
      case Ii:
        return 95;
      default:
        throw Error(a(332))
    }
  }

  function Vi(e) {
    switch (e) {
      case 99:
        return ji;
      case 98:
        return Di;
      case 97:
        return Li;
      case 96:
        return Ai;
      case 95:
        return Ii;
      default:
        throw Error(a(332))
    }
  }

  function Hi(e, t) {
    return e = Vi(e), xi(e, t)
  }

  function $i(e, t, n) {
    return e = Vi(e), Ci(e, t, n)
  }

  function Wi() {
    if (null !== Ri) {
      var e = Ri;
      Ri = null, Si(e)
    }
    Zi()
  }

  function Zi() {
    if (!zi && null !== Bi) {
      zi = !0;
      var e = 0;
      try {
        var t = Bi;
        Hi(99, (function () {
          for (; e < t.length; e++) {
            var n = t[e];
            do {
              n = n(!0)
            } while (null !== n)
          }
        })), Bi = null
      } catch (t) {
        throw null !== Bi && (Bi = Bi.slice(e + 1)), Ci(ji, Wi), t
      } finally {
        zi = !1
      }
    }
  }

  var qi = k.ReactCurrentBatchConfig;

  function Xi(e, t) {
    if (e && e.defaultProps) {
      for (var n in t = i({}, t), e = e.defaultProps) void 0 === t[n] && (t[n] = e[n]);
      return t
    }
    return t
  }

  var Yi = ai(null), Gi = null, Ki = null, Ji = null;

  function Qi() {
    Ji = Ki = Gi = null
  }

  function eo(e) {
    var t = Yi.current;
    li(Yi), e.type.B.I = t
  }

  function to(e, t) {
    for (; null !== e;) {
      var n = e.alternate;
      if ((e.childLanes & t) === t) {
        if (null === n || (n.childLanes & t) === t) break;
        n.childLanes |= t
      } else e.childLanes |= t, null !== n && (n.childLanes |= t);
      e = e.return
    }
  }

  function no(e, t) {
    Gi = e, Ji = Ki = null, null !== (e = e.dependencies) && null !== e.firstContext && (0 != (e.lanes & t) && (Fa = !0), e.firstContext = null)
  }

  function ro(e, t) {
    if (Ji !== e && !1 !== t && 0 !== t) if ("number" == typeof t && 1073741823 !== t || (Ji = e, t = 1073741823), t = {
      context: e,
      observedBits: t,
      next: null
    }, null === Ki) {
      if (null === Gi) throw Error(a(308));
      Ki = t, Gi.dependencies = { lanes: 0, firstContext: t, responders: null }
    } else Ki = Ki.next = t;
    return e.I
  }

  var io = !1;

  function oo(e) {
    e.updateQueue = {
      baseState: e.memoizedState,
      firstBaseUpdate: null,
      lastBaseUpdate: null,
      shared: { pending: null },
      effects: null
    }
  }

  function ao(e, t) {
    e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
      baseState: e.baseState,
      firstBaseUpdate: e.firstBaseUpdate,
      lastBaseUpdate: e.lastBaseUpdate,
      shared: e.shared,
      effects: e.effects
    })
  }

  function lo(e, t) {
    return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null }
  }

  function uo(e, t) {
    if (null !== (e = e.updateQueue)) {
      var n = (e = e.shared).pending;
      null === n ? t.next = t : (t.next = n.next, n.next = t), e.pending = t
    }
  }

  function so(e, t) {
    var n = e.updateQueue, r = e.alternate;
    if (null !== r && n === (r = r.updateQueue)) {
      var i = null, o = null;
      if (null !== (n = n.firstBaseUpdate)) {
        do {
          var a = {
            eventTime: n.eventTime,
            lane: n.lane,
            tag: n.tag,
            payload: n.payload,
            callback: n.callback,
            next: null
          };
          null === o ? i = o = a : o = o.next = a, n = n.next
        } while (null !== n);
        null === o ? i = o = t : o = o.next = t
      } else i = o = t;
      return n = {
        baseState: r.baseState,
        firstBaseUpdate: i,
        lastBaseUpdate: o,
        shared: r.shared,
        effects: r.effects
      }, void (e.updateQueue = n)
    }
    null === (e = n.lastBaseUpdate) ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t
  }

  function co(e, t, n, r) {
    var o = e.updateQueue;
    io = !1;
    var a = o.firstBaseUpdate, l = o.lastBaseUpdate, u = o.shared.pending;
    if (null !== u) {
      o.shared.pending = null;
      var s = u, c = s.next;
      s.next = null, null === l ? a = c : l.next = c, l = s;
      var f = e.alternate;
      if (null !== f) {
        var d = (f = f.updateQueue).lastBaseUpdate;
        d !== l && (null === d ? f.firstBaseUpdate = c : d.next = c, f.lastBaseUpdate = s)
      }
    }
    if (null !== a) {
      for (d = o.baseState, l = 0, f = c = s = null; ;) {
        u = a.lane;
        var h = a.eventTime;
        if ((r & u) === u) {
          null !== f && (f = f.next = {
            eventTime: h,
            lane: 0,
            tag: a.tag,
            payload: a.payload,
            callback: a.callback,
            next: null
          });
          e: {
            var p = e, v = a;
            switch (u = t, h = n, v.tag) {
              case 1:
                if ("function" == typeof (p = v.payload)) {
                  d = p.call(h, d, u);
                  break e
                }
                d = p;
                break e;
              case 3:
                p.flags = -4097 & p.flags | 64;
              case 0:
                if (null == (u = "function" == typeof (p = v.payload) ? p.call(h, d, u) : p)) break e;
                d = i({}, d, u);
                break e;
              case 2:
                io = !0
            }
          }
          null !== a.callback && (e.flags |= 32, null === (u = o.effects) ? o.effects = [a] : u.push(a))
        } else h = {
          eventTime: h,
          lane: u,
          tag: a.tag,
          payload: a.payload,
          callback: a.callback,
          next: null
        }, null === f ? (c = f = h, s = d) : f = f.next = h, l |= u;
        if (null === (a = a.next)) {
          if (null === (u = o.shared.pending)) break;
          a = u.next, u.next = null, o.lastBaseUpdate = u, o.shared.pending = null
        }
      }
      null === f && (s = d), o.baseState = s, o.firstBaseUpdate = c, o.lastBaseUpdate = f, zl |= l, e.lanes = l, e.memoizedState = d
    }
  }

  function fo(e, t, n) {
    if (e = t.effects, t.effects = null, null !== e) for (t = 0; t < e.length; t++) {
      var r = e[t], i = r.callback;
      if (null !== i) {
        if (r.callback = null, r = n, "function" != typeof i) throw Error(a(191, i));
        i.call(r)
      }
    }
  }

  var ho = (new r.Component).refs;

  function po(e, t, n, r) {
    n = null == (n = n(r, t = e.memoizedState)) ? t : i({}, t, n), e.memoizedState = n, 0 === e.lanes && (e.updateQueue.baseState = n)
  }

  var vo = {
    isMounted: function (e) {
      return !!(e = e.G) && Ge(e) === e
    }, enqueueSetState: function (e, t, n) {
      e = e.G;
      var r = su(), i = cu(e), o = lo(r, i);
      o.payload = t, null != n && (o.callback = n), uo(e, o), fu(e, i, r)
    }, enqueueReplaceState: function (e, t, n) {
      e = e.G;
      var r = su(), i = cu(e), o = lo(r, i);
      o.tag = 1, o.payload = t, null != n && (o.callback = n), uo(e, o), fu(e, i, r)
    }, enqueueForceUpdate: function (e, t) {
      e = e.G;
      var n = su(), r = cu(e), i = lo(n, r);
      i.tag = 2, null != t && (i.callback = t), uo(e, i), fu(e, r, n)
    }
  };

  function mo(e, t, n, r, i, o, a) {
    return "function" == typeof (e = e.stateNode).shouldComponentUpdate ? e.shouldComponentUpdate(r, o, a) : !t.prototype || !t.prototype.isPureReactComponent || (!sr(n, r) || !sr(i, o))
  }

  function bo(e, t, n) {
    var r = !1, i = si, o = t.contextType;
    return "object" == typeof o && null !== o ? o = ro(o) : (i = pi(t) ? di : ci.current, o = (r = null != (r = t.contextTypes)) ? hi(e, i) : si), t = new t(n, o), e.memoizedState = null !== t.state && void 0 !== t.state ? t.state : null, t.updater = vo, e.stateNode = t, t.G = e, r && ((e = e.stateNode).Z = i, e.X = o), t
  }

  function go(e, t, n, r) {
    e = t.state, "function" == typeof t.componentWillReceiveProps && t.componentWillReceiveProps(n, r), "function" == typeof t.UNSAFE_componentWillReceiveProps && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && vo.enqueueReplaceState(t, t.state, null)
  }

  function yo(e, t, n, r) {
    var i = e.stateNode;
    i.props = n, i.state = e.memoizedState, i.refs = ho, oo(e);
    var o = t.contextType;
    "object" == typeof o && null !== o ? i.context = ro(o) : (o = pi(t) ? di : ci.current, i.context = hi(e, o)), co(e, n, i, r), i.state = e.memoizedState, "function" == typeof (o = t.getDerivedStateFromProps) && (po(e, t, o, n), i.state = e.memoizedState), "function" == typeof t.getDerivedStateFromProps || "function" == typeof i.getSnapshotBeforeUpdate || "function" != typeof i.UNSAFE_componentWillMount && "function" != typeof i.componentWillMount || (t = i.state, "function" == typeof i.componentWillMount && i.componentWillMount(), "function" == typeof i.UNSAFE_componentWillMount && i.UNSAFE_componentWillMount(), t !== i.state && vo.enqueueReplaceState(i, i.state, null), co(e, n, i, r), i.state = e.memoizedState), "function" == typeof i.componentDidMount && (e.flags |= 4)
  }

  var wo = Array.isArray;

  function ko(e, t, n) {
    if (null !== (e = n.ref) && "function" != typeof e && "object" != typeof e) {
      if (n.j) {
        if (n = n.j) {
          if (1 !== n.tag) throw Error(a(309));
          var r = n.stateNode
        }
        if (!r) throw Error(a(147, e));
        var i = "" + e;
        return null !== t && null !== t.ref && "function" == typeof t.ref && t.ref.K === i ? t.ref : ((t = function (e) {
          var t = r.refs;
          t === ho && (t = r.refs = {}), null === e ? delete t[i] : t[i] = e
        }).K = i, t)
      }
      if ("string" != typeof e) throw Error(a(284));
      if (!n.j) throw Error(a(290, e))
    }
    return e
  }

  function xo(e, t) {
    if ("textarea" !== e.type) throw Error(a(31, "[object Object]" === Object.prototype.toString.call(t) ? "object with keys {" + Object.keys(t).join(", ") + "}" : t))
  }

  function Co(e) {
    function t(t, n) {
      if (e) {
        var r = t.lastEffect;
        null !== r ? (r.nextEffect = n, t.lastEffect = n) : t.firstEffect = t.lastEffect = n, n.nextEffect = null, n.flags = 8
      }
    }

    function n(n, r) {
      if (!e) return null;
      for (; null !== r;) t(n, r), r = r.sibling;
      return null
    }

    function r(e, t) {
      for (e = new Map; null !== t;) null !== t.key ? e.set(t.key, t) : e.set(t.index, t), t = t.sibling;
      return e
    }

    function i(e, t) {
      return (e = Hu(e, t)).index = 0, e.sibling = null, e
    }

    function o(t, n, r) {
      return t.index = r, e ? null !== (r = t.alternate) ? (r = r.index) < n ? (t.flags = 2, n) : r : (t.flags = 2, n) : n
    }

    function l(t) {
      return e && null === t.alternate && (t.flags = 2), t
    }

    function u(e, t, n, r) {
      return null === t || 6 !== t.tag ? ((t = qu(n, e.mode, r)).return = e, t) : ((t = i(t, n)).return = e, t)
    }

    function s(e, t, n, r) {
      return null !== t && t.elementType === n.type ? ((r = i(t, n.props)).ref = ko(e, t, n), r.return = e, r) : ((r = $u(n.type, n.key, n.props, null, e.mode, r)).ref = ko(e, t, n), r.return = e, r)
    }

    function c(e, t, n, r) {
      return null === t || 4 !== t.tag || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? ((t = Xu(n, e.mode, r)).return = e, t) : ((t = i(t, n.children || [])).return = e, t)
    }

    function f(e, t, n, r, o) {
      return null === t || 7 !== t.tag ? ((t = Wu(n, e.mode, r, o)).return = e, t) : ((t = i(t, n)).return = e, t)
    }

    function d(e, t, n) {
      if ("string" == typeof t || "number" == typeof t) return (t = qu("" + t, e.mode, n)).return = e, t;
      if ("object" == typeof t && null !== t) {
        switch (t.$$typeof) {
          case x:
            return (n = $u(t.type, t.key, t.props, null, e.mode, n)).ref = ko(e, null, t), n.return = e, n;
          case C:
            return (t = Xu(t, e.mode, n)).return = e, t
        }
        if (wo(t) || V(t)) return (t = Wu(t, e.mode, n, null)).return = e, t;
        xo(e, t)
      }
      return null
    }

    function h(e, t, n, r) {
      var i = null !== t ? t.key : null;
      if ("string" == typeof n || "number" == typeof n) return null !== i ? null : u(e, t, "" + n, r);
      if ("object" == typeof n && null !== n) {
        switch (n.$$typeof) {
          case x:
            return n.key === i ? n.type === S ? f(e, t, n.props.children, r, i) : s(e, t, n, r) : null;
          case C:
            return n.key === i ? c(e, t, n, r) : null
        }
        if (wo(n) || V(n)) return null !== i ? null : f(e, t, n, r, null);
        xo(e, n)
      }
      return null
    }

    function p(e, t, n, r, i) {
      if ("string" == typeof r || "number" == typeof r) return u(t, e = e.get(n) || null, "" + r, i);
      if ("object" == typeof r && null !== r) {
        switch (r.$$typeof) {
          case x:
            return e = e.get(null === r.key ? n : r.key) || null, r.type === S ? f(t, e, r.props.children, i, r.key) : s(t, e, r, i);
          case C:
            return c(t, e = e.get(null === r.key ? n : r.key) || null, r, i)
        }
        if (wo(r) || V(r)) return f(t, e = e.get(n) || null, r, i, null);
        xo(t, r)
      }
      return null
    }

    function v(i, a, l, u) {
      for (var s = null, c = null, f = a, v = a = 0, m = null; null !== f && v < l.length; v++) {
        f.index > v ? (m = f, f = null) : m = f.sibling;
        var b = h(i, f, l[v], u);
        if (null === b) {
          null === f && (f = m);
          break
        }
        e && f && null === b.alternate && t(i, f), a = o(b, a, v), null === c ? s = b : c.sibling = b, c = b, f = m
      }
      if (v === l.length) return n(i, f), s;
      if (null === f) {
        for (; v < l.length; v++) null !== (f = d(i, l[v], u)) && (a = o(f, a, v), null === c ? s = f : c.sibling = f, c = f);
        return s
      }
      for (f = r(i, f); v < l.length; v++) null !== (m = p(f, i, v, l[v], u)) && (e && null !== m.alternate && f.delete(null === m.key ? v : m.key), a = o(m, a, v), null === c ? s = m : c.sibling = m, c = m);
      return e && f.forEach((function (e) {
        return t(i, e)
      })), s
    }

    function m(i, l, u, s) {
      var c = V(u);
      if ("function" != typeof c) throw Error(a(150));
      if (null == (u = c.call(u))) throw Error(a(151));
      for (var f = c = null, v = l, m = l = 0, b = null, g = u.next(); null !== v && !g.done; m++, g = u.next()) {
        v.index > m ? (b = v, v = null) : b = v.sibling;
        var y = h(i, v, g.value, s);
        if (null === y) {
          null === v && (v = b);
          break
        }
        e && v && null === y.alternate && t(i, v), l = o(y, l, m), null === f ? c = y : f.sibling = y, f = y, v = b
      }
      if (g.done) return n(i, v), c;
      if (null === v) {
        for (; !g.done; m++, g = u.next()) null !== (g = d(i, g.value, s)) && (l = o(g, l, m), null === f ? c = g : f.sibling = g, f = g);
        return c
      }
      for (v = r(i, v); !g.done; m++, g = u.next()) null !== (g = p(v, i, m, g.value, s)) && (e && null !== g.alternate && v.delete(null === g.key ? m : g.key), l = o(g, l, m), null === f ? c = g : f.sibling = g, f = g);
      return e && v.forEach((function (e) {
        return t(i, e)
      })), c
    }

    return function (e, r, o, u) {
      var s = "object" == typeof o && null !== o && o.type === S && null === o.key;
      s && (o = o.props.children);
      var c = "object" == typeof o && null !== o;
      if (c) switch (o.$$typeof) {
        case x:
          e: {
            for (c = o.key, s = r; null !== s;) {
              if (s.key === c) {
                switch (s.tag) {
                  case 7:
                    if (o.type === S) {
                      n(e, s.sibling), (r = i(s, o.props.children)).return = e, e = r;
                      break e
                    }
                    break;
                  default:
                    if (s.elementType === o.type) {
                      n(e, s.sibling), (r = i(s, o.props)).ref = ko(e, s, o), r.return = e, e = r;
                      break e
                    }
                }
                n(e, s);
                break
              }
              t(e, s), s = s.sibling
            }
            o.type === S ? ((r = Wu(o.props.children, e.mode, u, o.key)).return = e, e = r) : ((u = $u(o.type, o.key, o.props, null, e.mode, u)).ref = ko(e, r, o), u.return = e, e = u)
          }
          return l(e);
        case C:
          e: {
            for (s = o.key; null !== r;) {
              if (r.key === s) {
                if (4 === r.tag && r.stateNode.containerInfo === o.containerInfo && r.stateNode.implementation === o.implementation) {
                  n(e, r.sibling), (r = i(r, o.children || [])).return = e, e = r;
                  break e
                }
                n(e, r);
                break
              }
              t(e, r), r = r.sibling
            }
            (r = Xu(o, e.mode, u)).return = e, e = r
          }
          return l(e)
      }
      if ("string" == typeof o || "number" == typeof o) return o = "" + o, null !== r && 6 === r.tag ? (n(e, r.sibling), (r = i(r, o)).return = e, e = r) : (n(e, r), (r = qu(o, e.mode, u)).return = e, e = r), l(e);
      if (wo(o)) return v(e, r, o, u);
      if (V(o)) return m(e, r, o, u);
      if (c && xo(e, o), void 0 === o && !s) switch (e.tag) {
        case 1:
        case 22:
        case 0:
        case 11:
        case 15:
          throw Error(a(152, q(e.type) || "Component"))
      }
      return n(e, r)
    }
  }

  var So = Co(!0), Eo = Co(!1), To = {}, Mo = ai(To), Oo = ai(To), jo = ai(To);

  function Do(e) {
    if (e === To) throw Error(a(174));
    return e
  }

  function Lo(e, t) {
    switch (ui(jo, t), ui(Oo, e), ui(Mo, To), e = t.nodeType) {
      case 9:
      case 11:
        t = (t = t.documentElement) ? t.namespaceURI : pe(null, "");
        break;
      default:
        t = pe(t = (e = 8 === e ? t.parentNode : t).namespaceURI || null, e = e.tagName)
    }
    li(Mo), ui(Mo, t)
  }

  function Ao() {
    li(Mo), li(Oo), li(jo)
  }

  function Io(e) {
    Do(jo.current);
    var t = Do(Mo.current), n = pe(t, e.type);
    t !== n && (ui(Oo, e), ui(Mo, n))
  }

  function Fo(e) {
    Oo.current === e && (li(Mo), li(Oo))
  }

  var Po = ai(0);

  function Bo(e) {
    for (var t = e; null !== t;) {
      if (13 === t.tag) {
        var n = t.memoizedState;
        if (null !== n && (null === (n = n.dehydrated) || "$?" === n.data || "$!" === n.data)) return t
      } else if (19 === t.tag && void 0 !== t.memoizedProps.revealOrder) {
        if (0 != (64 & t.flags)) return t
      } else if (null !== t.child) {
        t.child.return = t, t = t.child;
        continue
      }
      if (t === e) break;
      for (; null === t.sibling;) {
        if (null === t.return || t.return === e) return null;
        t = t.return
      }
      t.sibling.return = t.return, t = t.sibling
    }
    return null
  }

  var Ro = null, zo = null, _o = !1;

  function No(e, t) {
    var n = Uu(5, null, null, 0);
    n.elementType = "DELETED", n.type = "DELETED", n.stateNode = t, n.return = e, n.flags = 8, null !== e.lastEffect ? (e.lastEffect.nextEffect = n, e.lastEffect = n) : e.firstEffect = e.lastEffect = n
  }

  function Uo(e, t) {
    switch (e.tag) {
      case 5:
        var n = e.type;
        return null !== (t = 1 !== t.nodeType || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t) && (e.stateNode = t, !0);
      case 6:
        return null !== (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) && (e.stateNode = t, !0);
      case 13:
      default:
        return !1
    }
  }

  function Vo(e) {
    if (_o) {
      var t = zo;
      if (t) {
        var n = t;
        if (!Uo(e, t)) {
          if (!(t = Wr(n.nextSibling)) || !Uo(e, t)) return e.flags = -1025 & e.flags | 2, _o = !1, void (Ro = e);
          No(Ro, n)
        }
        Ro = e, zo = Wr(t.firstChild)
      } else e.flags = -1025 & e.flags | 2, _o = !1, Ro = e
    }
  }

  function Ho(e) {
    for (e = e.return; null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag;) e = e.return;
    Ro = e
  }

  function $o(e) {
    if (e !== Ro) return !1;
    if (!_o) return Ho(e), _o = !0, !1;
    var t = e.type;
    if (5 !== e.tag || "head" !== t && "body" !== t && !Ur(t, e.memoizedProps)) for (t = zo; t;) No(e, t), t = Wr(t.nextSibling);
    if (Ho(e), 13 === e.tag) {
      if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null)) throw Error(a(317));
      e: {
        for (e = e.nextSibling, t = 0; e;) {
          if (8 === e.nodeType) {
            var n = e.data;
            if ("/$" === n) {
              if (0 === t) {
                zo = Wr(e.nextSibling);
                break e
              }
              t--
            } else "$" !== n && "$!" !== n && "$?" !== n || t++
          }
          e = e.nextSibling
        }
        zo = null
      }
    } else zo = Ro ? Wr(e.stateNode.nextSibling) : null;
    return !0
  }

  function Wo() {
    zo = Ro = null, _o = !1
  }

  var Zo = [];

  function qo() {
    for (var e = 0; e < Zo.length; e++) Zo[e].J = null;
    Zo.length = 0
  }

  var Xo = k.ReactCurrentDispatcher, Yo = k.ReactCurrentBatchConfig, Go = 0, Ko = null, Jo = null, Qo = null, ea = !1,
    ta = !1;

  function na() {
    throw Error(a(321))
  }

  function ra(e, t) {
    if (null === t) return !1;
    for (var n = 0; n < t.length && n < e.length; n++) if (!lr(e[n], t[n])) return !1;
    return !0
  }

  function ia(e, t, n, r, i, o) {
    if (Go = o, Ko = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, Xo.current = null === e || null === e.memoizedState ? Da : La, e = n(r, i), ta) {
      o = 0;
      do {
        if (ta = !1, !(25 > o)) throw Error(a(301));
        o += 1, Qo = Jo = null, t.updateQueue = null, Xo.current = Aa, e = n(r, i)
      } while (ta)
    }
    if (Xo.current = ja, t = null !== Jo && null !== Jo.next, Go = 0, Qo = Jo = Ko = null, ea = !1, t) throw Error(a(300));
    return e
  }

  function oa() {
    var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
    return null === Qo ? Ko.memoizedState = Qo = e : Qo = Qo.next = e, Qo
  }

  function aa() {
    if (null === Jo) {
      var e = Ko.alternate;
      e = null !== e ? e.memoizedState : null
    } else e = Jo.next;
    var t = null === Qo ? Ko.memoizedState : Qo.next;
    if (null !== t) Qo = t, Jo = e; else {
      if (null === e) throw Error(a(310));
      e = {
        memoizedState: (Jo = e).memoizedState,
        baseState: Jo.baseState,
        baseQueue: Jo.baseQueue,
        queue: Jo.queue,
        next: null
      }, null === Qo ? Ko.memoizedState = Qo = e : Qo = Qo.next = e
    }
    return Qo
  }

  function la(e, t) {
    return "function" == typeof t ? t(e) : t
  }

  function ua(e) {
    var t = aa(), n = t.queue;
    if (null === n) throw Error(a(311));
    n.lastRenderedReducer = e;
    var r = Jo, i = r.baseQueue, o = n.pending;
    if (null !== o) {
      if (null !== i) {
        var l = i.next;
        i.next = o.next, o.next = l
      }
      r.baseQueue = i = o, n.pending = null
    }
    if (null !== i) {
      i = i.next, r = r.baseState;
      var u = l = o = null, s = i;
      do {
        var c = s.lane;
        if ((Go & c) === c) null !== u && (u = u.next = {
          lane: 0,
          action: s.action,
          eagerReducer: s.eagerReducer,
          eagerState: s.eagerState,
          next: null
        }), r = s.eagerReducer === e ? s.eagerState : e(r, s.action); else {
          var f = {
            lane: c,
            action: s.action,
            eagerReducer: s.eagerReducer,
            eagerState: s.eagerState,
            next: null
          };
          null === u ? (l = u = f, o = r) : u = u.next = f, Ko.lanes |= c, zl |= c
        }
        s = s.next
      } while (null !== s && s !== i);
      null === u ? o = r : u.next = l, lr(r, t.memoizedState) || (Fa = !0), t.memoizedState = r, t.baseState = o, t.baseQueue = u, n.lastRenderedState = r
    }
    return [t.memoizedState, n.dispatch]
  }

  function sa(e) {
    var t = aa(), n = t.queue;
    if (null === n) throw Error(a(311));
    n.lastRenderedReducer = e;
    var r = n.dispatch, i = n.pending, o = t.memoizedState;
    if (null !== i) {
      n.pending = null;
      var l = i = i.next;
      do {
        o = e(o, l.action), l = l.next
      } while (l !== i);
      lr(o, t.memoizedState) || (Fa = !0), t.memoizedState = o, null === t.baseQueue && (t.baseState = o), n.lastRenderedState = o
    }
    return [o, r]
  }

  function ca(e, t, n) {
    var r = t.ee;
    r = r(t.te);
    var i = t.J;
    if (null !== i ? e = i === r : (e = e.mutableReadLanes, (e = (Go & e) === e) && (t.J = r, Zo.push(t))), e) return n(t.te);
    throw Zo.push(t), Error(a(350))
  }

  function fa(e, t, n, r) {
    var i = Dl;
    if (null === i) throw Error(a(349));
    var o = t.ee, l = o(t.te), u = Xo.current, s = u.useState((function () {
      return ca(i, t, n)
    })), c = s[1], f = s[0];
    s = Qo;
    var d = e.memoizedState, h = d.refs, p = h.getSnapshot, v = d.source;
    d = d.subscribe;
    var m = Ko;
    return e.memoizedState = { refs: h, source: t, subscribe: r }, u.useEffect((function () {
      h.getSnapshot = n, h.setSnapshot = c;
      var e = o(t.te);
      if (!lr(l, e)) {
        e = n(t.te), lr(f, e) || (c(e), e = cu(m), i.mutableReadLanes |= e & i.pendingLanes), e = i.mutableReadLanes, i.entangledLanes |= e;
        for (var r = i.entanglements, a = e; 0 < a;) {
          var u = 31 - $t(a), s = 1 << u;
          r[u] |= e, a &= ~s
        }
      }
    }), [n, t, r]), u.useEffect((function () {
      return r(t.te, (function () {
        var e = h.getSnapshot, n = h.setSnapshot;
        try {
          n(e(t.te));
          var r = cu(m);
          i.mutableReadLanes |= r & i.pendingLanes
        } catch (e) {
          n((function () {
            throw e
          }))
        }
      }))
    }), [t, r]), lr(p, n) && lr(v, t) && lr(d, r) || ((e = {
      pending: null,
      dispatch: null,
      lastRenderedReducer: la,
      lastRenderedState: f
    }).dispatch = c = Oa.bind(null, Ko, e), s.queue = e, s.baseQueue = null, f = ca(i, t, n), s.memoizedState = s.baseState = f), f
  }

  function da(e, t, n) {
    return fa(aa(), e, t, n)
  }

  function ha(e) {
    var t = oa();
    return "function" == typeof e && (e = e()), t.memoizedState = t.baseState = e, e = (e = t.queue = {
      pending: null,
      dispatch: null,
      lastRenderedReducer: la,
      lastRenderedState: e
    }).dispatch = Oa.bind(null, Ko, e), [t.memoizedState, e]
  }

  function pa(e, t, n, r) {
    return e = {
      tag: e,
      create: t,
      destroy: n,
      deps: r,
      next: null
    }, null === (t = Ko.updateQueue) ? (t = { lastEffect: null }, Ko.updateQueue = t, t.lastEffect = e.next = e) : null === (n = t.lastEffect) ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e), e
  }

  function va(e) {
    return e = { current: e }, oa().memoizedState = e
  }

  function ma() {
    return aa().memoizedState
  }

  function ba(e, t, n, r) {
    var i = oa();
    Ko.flags |= e, i.memoizedState = pa(1 | t, n, void 0, void 0 === r ? null : r)
  }

  function ga(e, t, n, r) {
    var i = aa();
    r = void 0 === r ? null : r;
    var o = void 0;
    if (null !== Jo) {
      var a = Jo.memoizedState;
      if (o = a.destroy, null !== r && ra(r, a.deps)) return void pa(t, n, o, r)
    }
    Ko.flags |= e, i.memoizedState = pa(1 | t, n, o, r)
  }

  function ya(e, t) {
    return ba(516, 4, e, t)
  }

  function wa(e, t) {
    return ga(516, 4, e, t)
  }

  function ka(e, t) {
    return ga(4, 2, e, t)
  }

  function xa(e, t) {
    return "function" == typeof t ? (e = e(), t(e), function () {
      t(null)
    }) : null != t ? (e = e(), t.current = e, function () {
      t.current = null
    }) : void 0
  }

  function Ca(e, t, n) {
    return n = null != n ? n.concat([e]) : null, ga(4, 2, xa.bind(null, t, e), n)
  }

  function Sa() {
  }

  function Ea(e, t) {
    var n = aa();
    t = void 0 === t ? null : t;
    var r = n.memoizedState;
    return null !== r && null !== t && ra(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e)
  }

  function Ta(e, t) {
    var n = aa();
    t = void 0 === t ? null : t;
    var r = n.memoizedState;
    return null !== r && null !== t && ra(t, r[1]) ? r[0] : (e = e(), n.memoizedState = [e, t], e)
  }

  function Ma(e, t) {
    var n = Ui();
    Hi(98 > n ? 98 : n, (function () {
      e(!0)
    })), Hi(97 < n ? 97 : n, (function () {
      var n = Yo.transition;
      Yo.transition = 1;
      try {
        e(!1), t()
      } finally {
        Yo.transition = n
      }
    }))
  }

  function Oa(e, t, n) {
    var r = su(), i = cu(e), o = { lane: i, action: n, eagerReducer: null, eagerState: null, next: null },
      a = t.pending;
    if (null === a ? o.next = o : (o.next = a.next, a.next = o), t.pending = o, a = e.alternate, e === Ko || null !== a && a === Ko) ta = ea = !0; else {
      if (0 === e.lanes && (null === a || 0 === a.lanes) && null !== (a = t.lastRenderedReducer)) try {
        var l = t.lastRenderedState, u = a(l, n);
        if (o.eagerReducer = a, o.eagerState = u, lr(u, l)) return
      } catch (e) {
      }
      fu(e, i, r)
    }
  }

  var ja = {
    readContext: ro,
    useCallback: na,
    useContext: na,
    useEffect: na,
    useImperativeHandle: na,
    useLayoutEffect: na,
    useMemo: na,
    useReducer: na,
    useRef: na,
    useState: na,
    useDebugValue: na,
    useDeferredValue: na,
    useTransition: na,
    useMutableSource: na,
    useOpaqueIdentifier: na,
    unstable_isNewReconciler: !1
  }, Da = {
    readContext: ro, useCallback: function (e, t) {
      return oa().memoizedState = [e, void 0 === t ? null : t], e
    }, useContext: ro, useEffect: ya, useImperativeHandle: function (e, t, n) {
      return n = null != n ? n.concat([e]) : null, ba(4, 2, xa.bind(null, t, e), n)
    }, useLayoutEffect: function (e, t) {
      return ba(4, 2, e, t)
    }, useMemo: function (e, t) {
      var n = oa();
      return t = void 0 === t ? null : t, e = e(), n.memoizedState = [e, t], e
    }, useReducer: function (e, t, n) {
      var r = oa();
      return t = void 0 !== n ? n(t) : t, r.memoizedState = r.baseState = t, e = (e = r.queue = {
        pending: null,
        dispatch: null,
        lastRenderedReducer: e,
        lastRenderedState: t
      }).dispatch = Oa.bind(null, Ko, e), [r.memoizedState, e]
    }, useRef: va, useState: ha, useDebugValue: Sa, useDeferredValue: function (e) {
      var t = ha(e), n = t[0], r = t[1];
      return ya((function () {
        var t = Yo.transition;
        Yo.transition = 1;
        try {
          r(e)
        } finally {
          Yo.transition = t
        }
      }), [e]), n
    }, useTransition: function () {
      var e = ha(!1), t = e[0];
      return va(e = Ma.bind(null, e[1])), [e, t]
    }, useMutableSource: function (e, t, n) {
      var r = oa();
      return r.memoizedState = {
        refs: { getSnapshot: t, setSnapshot: null },
        source: e,
        subscribe: n
      }, fa(r, e, t, n)
    }, useOpaqueIdentifier: function () {
      if (_o) {
        var e = !1, t = function (e) {
          return { $$typeof: P, toString: e, valueOf: e }
        }((function () {
          throw e || (e = !0, n("r:" + (qr++).toString(36))), Error(a(355))
        })), n = ha(t)[1];
        return 0 == (2 & Ko.mode) && (Ko.flags |= 516, pa(5, (function () {
          n("r:" + (qr++).toString(36))
        }), void 0, null)), t
      }
      return ha(t = "r:" + (qr++).toString(36)), t
    }, unstable_isNewReconciler: !1
  }, La = {
    readContext: ro,
    useCallback: Ea,
    useContext: ro,
    useEffect: wa,
    useImperativeHandle: Ca,
    useLayoutEffect: ka,
    useMemo: Ta,
    useReducer: ua,
    useRef: ma,
    useState: function () {
      return ua(la)
    },
    useDebugValue: Sa,
    useDeferredValue: function (e) {
      var t = ua(la), n = t[0], r = t[1];
      return wa((function () {
        var t = Yo.transition;
        Yo.transition = 1;
        try {
          r(e)
        } finally {
          Yo.transition = t
        }
      }), [e]), n
    },
    useTransition: function () {
      var e = ua(la)[0];
      return [ma().current, e]
    },
    useMutableSource: da,
    useOpaqueIdentifier: function () {
      return ua(la)[0]
    },
    unstable_isNewReconciler: !1
  }, Aa = {
    readContext: ro,
    useCallback: Ea,
    useContext: ro,
    useEffect: wa,
    useImperativeHandle: Ca,
    useLayoutEffect: ka,
    useMemo: Ta,
    useReducer: sa,
    useRef: ma,
    useState: function () {
      return sa(la)
    },
    useDebugValue: Sa,
    useDeferredValue: function (e) {
      var t = sa(la), n = t[0], r = t[1];
      return wa((function () {
        var t = Yo.transition;
        Yo.transition = 1;
        try {
          r(e)
        } finally {
          Yo.transition = t
        }
      }), [e]), n
    },
    useTransition: function () {
      var e = sa(la)[0];
      return [ma().current, e]
    },
    useMutableSource: da,
    useOpaqueIdentifier: function () {
      return sa(la)[0]
    },
    unstable_isNewReconciler: !1
  }, Ia = k.ReactCurrentOwner, Fa = !1;

  function Pa(e, t, n, r) {
    t.child = null === e ? Eo(t, null, n, r) : So(t, e.child, n, r)
  }

  function Ba(e, t, n, r, i) {
    n = n.render;
    var o = t.ref;
    return no(t, i), r = ia(e, t, n, r, o, i), null === e || Fa ? (t.flags |= 1, Pa(e, t, r, i), t.child) : (t.updateQueue = e.updateQueue, t.flags &= -517, e.lanes &= ~i, nl(e, t, i))
  }

  function Ra(e, t, n, r, i, o) {
    if (null === e) {
      var a = n.type;
      return "function" != typeof a || Vu(a) || void 0 !== a.defaultProps || null !== n.compare || void 0 !== n.defaultProps ? ((e = $u(n.type, null, r, t, t.mode, o)).ref = t.ref, e.return = t, t.child = e) : (t.tag = 15, t.type = a, za(e, t, a, r, i, o))
    }
    return a = e.child, 0 == (i & o) && (i = a.memoizedProps, (n = null !== (n = n.compare) ? n : sr)(i, r) && e.ref === t.ref) ? nl(e, t, o) : (t.flags |= 1, (e = Hu(a, r)).ref = t.ref, e.return = t, t.child = e)
  }

  function za(e, t, n, r, i, o) {
    if (null !== e && sr(e.memoizedProps, r) && e.ref === t.ref) {
      if (Fa = !1, 0 == (o & i)) return t.lanes = e.lanes, nl(e, t, o);
      0 != (16384 & e.flags) && (Fa = !0)
    }
    return Ua(e, t, n, r, o)
  }

  function _a(e, t, n) {
    var r = t.pendingProps, i = r.children, o = null !== e ? e.memoizedState : null;
    if ("hidden" === r.mode || "unstable-defer-without-hiding" === r.mode) if (0 == (4 & t.mode)) t.memoizedState = { baseLanes: 0 }, yu(t, n); else {
      if (0 == (1073741824 & n)) return e = null !== o ? o.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e }, yu(t, e), null;
      t.memoizedState = { baseLanes: 0 }, yu(t, null !== o ? o.baseLanes : n)
    } else null !== o ? (r = o.baseLanes | n, t.memoizedState = null) : r = n, yu(t, r);
    return Pa(e, t, i, n), t.child
  }

  function Na(e, t) {
    var n = t.ref;
    (null === e && null !== n || null !== e && e.ref !== n) && (t.flags |= 128)
  }

  function Ua(e, t, n, r, i) {
    var o = pi(n) ? di : ci.current;
    return o = hi(t, o), no(t, i), n = ia(e, t, n, r, o, i), null === e || Fa ? (t.flags |= 1, Pa(e, t, n, i), t.child) : (t.updateQueue = e.updateQueue, t.flags &= -517, e.lanes &= ~i, nl(e, t, i))
  }

  function Va(e, t, n, r, i) {
    if (pi(n)) {
      var o = !0;
      gi(t)
    } else o = !1;
    if (no(t, i), null === t.stateNode) null !== e && (e.alternate = null, t.alternate = null, t.flags |= 2), bo(t, n, r), yo(t, n, r, i), r = !0; else if (null === e) {
      var a = t.stateNode, l = t.memoizedProps;
      a.props = l;
      var u = a.context, s = n.contextType;
      "object" == typeof s && null !== s ? s = ro(s) : s = hi(t, s = pi(n) ? di : ci.current);
      var c = n.getDerivedStateFromProps,
        f = "function" == typeof c || "function" == typeof a.getSnapshotBeforeUpdate;
      f || "function" != typeof a.UNSAFE_componentWillReceiveProps && "function" != typeof a.componentWillReceiveProps || (l !== r || u !== s) && go(t, a, r, s), io = !1;
      var d = t.memoizedState;
      a.state = d, co(t, r, a, i), u = t.memoizedState, l !== r || d !== u || fi.current || io ? ("function" == typeof c && (po(t, n, c, r), u = t.memoizedState), (l = io || mo(t, n, l, r, d, u, s)) ? (f || "function" != typeof a.UNSAFE_componentWillMount && "function" != typeof a.componentWillMount || ("function" == typeof a.componentWillMount && a.componentWillMount(), "function" == typeof a.UNSAFE_componentWillMount && a.UNSAFE_componentWillMount()), "function" == typeof a.componentDidMount && (t.flags |= 4)) : ("function" == typeof a.componentDidMount && (t.flags |= 4), t.memoizedProps = r, t.memoizedState = u), a.props = r, a.state = u, a.context = s, r = l) : ("function" == typeof a.componentDidMount && (t.flags |= 4), r = !1)
    } else {
      a = t.stateNode, ao(e, t), l = t.memoizedProps, s = t.type === t.elementType ? l : Xi(t.type, l), a.props = s, f = t.pendingProps, d = a.context, "object" == typeof (u = n.contextType) && null !== u ? u = ro(u) : u = hi(t, u = pi(n) ? di : ci.current);
      var h = n.getDerivedStateFromProps;
      (c = "function" == typeof h || "function" == typeof a.getSnapshotBeforeUpdate) || "function" != typeof a.UNSAFE_componentWillReceiveProps && "function" != typeof a.componentWillReceiveProps || (l !== f || d !== u) && go(t, a, r, u), io = !1, d = t.memoizedState, a.state = d, co(t, r, a, i);
      var p = t.memoizedState;
      l !== f || d !== p || fi.current || io ? ("function" == typeof h && (po(t, n, h, r), p = t.memoizedState), (s = io || mo(t, n, s, r, d, p, u)) ? (c || "function" != typeof a.UNSAFE_componentWillUpdate && "function" != typeof a.componentWillUpdate || ("function" == typeof a.componentWillUpdate && a.componentWillUpdate(r, p, u), "function" == typeof a.UNSAFE_componentWillUpdate && a.UNSAFE_componentWillUpdate(r, p, u)), "function" == typeof a.componentDidUpdate && (t.flags |= 4), "function" == typeof a.getSnapshotBeforeUpdate && (t.flags |= 256)) : ("function" != typeof a.componentDidUpdate || l === e.memoizedProps && d === e.memoizedState || (t.flags |= 4), "function" != typeof a.getSnapshotBeforeUpdate || l === e.memoizedProps && d === e.memoizedState || (t.flags |= 256), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = u, r = s) : ("function" != typeof a.componentDidUpdate || l === e.memoizedProps && d === e.memoizedState || (t.flags |= 4), "function" != typeof a.getSnapshotBeforeUpdate || l === e.memoizedProps && d === e.memoizedState || (t.flags |= 256), r = !1)
    }
    return Ha(e, t, n, r, o, i)
  }

  function Ha(e, t, n, r, i, o) {
    Na(e, t);
    var a = 0 != (64 & t.flags);
    if (!r && !a) return i && yi(t, n, !1), nl(e, t, o);
    r = t.stateNode, Ia.current = t;
    var l = a && "function" != typeof n.getDerivedStateFromError ? null : r.render();
    return t.flags |= 1, null !== e && a ? (t.child = So(t, e.child, null, o), t.child = So(t, null, l, o)) : Pa(e, t, l, o), t.memoizedState = r.state, i && yi(t, n, !0), t.child
  }

  function $a(e) {
    var t = e.stateNode;
    t.pendingContext ? mi(0, t.pendingContext, t.pendingContext !== t.context) : t.context && mi(0, t.context, !1), Lo(e, t.containerInfo)
  }

  var Wa, Za, qa, Xa = { dehydrated: null, retryLane: 0 };

  function Ya(e, t, n) {
    var r, i = t.pendingProps, o = Po.current, a = !1;
    return (r = 0 != (64 & t.flags)) || (r = (null === e || null !== e.memoizedState) && 0 != (2 & o)), r ? (a = !0, t.flags &= -65) : null !== e && null === e.memoizedState || void 0 === i.fallback || !0 === i.unstable_avoidThisFallback || (o |= 1), ui(Po, 1 & o), null === e ? (void 0 !== i.fallback && Vo(t), e = i.children, o = i.fallback, a ? (e = Ga(t, e, o, n), t.child.memoizedState = { baseLanes: n }, t.memoizedState = Xa, e) : "number" == typeof i.unstable_expectedLoadTime ? (e = Ga(t, e, o, n), t.child.memoizedState = { baseLanes: n }, t.memoizedState = Xa, t.lanes = 33554432, e) : ((n = Zu({
      mode: "visible",
      children: e
    }, t.mode, n, null)).return = t, t.child = n)) : (e.memoizedState, a ? (i = Ja(e, t, i.children, i.fallback, n), a = t.child, o = e.child.memoizedState, a.memoizedState = null === o ? { baseLanes: n } : { baseLanes: o.baseLanes | n }, a.childLanes = e.childLanes & ~n, t.memoizedState = Xa, i) : (n = Ka(e, t, i.children, n), t.memoizedState = null, n))
  }

  function Ga(e, t, n, r) {
    var i = e.mode, o = e.child;
    return t = {
      mode: "hidden",
      children: t
    }, 0 == (2 & i) && null !== o ? (o.childLanes = 0, o.pendingProps = t) : o = Zu(t, i, 0, null), n = Wu(n, i, r, null), o.return = e, n.return = e, o.sibling = n, e.child = o, n
  }

  function Ka(e, t, n, r) {
    var i = e.child;
    return e = i.sibling, n = Hu(i, {
      mode: "visible",
      children: n
    }), 0 == (2 & t.mode) && (n.lanes = r), n.return = t, n.sibling = null, null !== e && (e.nextEffect = null, e.flags = 8, t.firstEffect = t.lastEffect = e), t.child = n
  }

  function Ja(e, t, n, r, i) {
    var o = t.mode, a = e.child;
    e = a.sibling;
    var l = { mode: "hidden", children: n };
    return 0 == (2 & o) && t.child !== a ? ((n = t.child).childLanes = 0, n.pendingProps = l, null !== (a = n.lastEffect) ? (t.firstEffect = n.firstEffect, t.lastEffect = a, a.nextEffect = null) : t.firstEffect = t.lastEffect = null) : n = Hu(a, l), null !== e ? r = Hu(e, r) : (r = Wu(r, o, i, null)).flags |= 2, r.return = t, n.return = t, n.sibling = r, t.child = n, r
  }

  function Qa(e, t) {
    e.lanes |= t;
    var n = e.alternate;
    null !== n && (n.lanes |= t), to(e.return, t)
  }

  function el(e, t, n, r, i, o) {
    var a = e.memoizedState;
    null === a ? e.memoizedState = {
      isBackwards: t,
      rendering: null,
      renderingStartTime: 0,
      last: r,
      tail: n,
      tailMode: i,
      lastEffect: o
    } : (a.isBackwards = t, a.rendering = null, a.renderingStartTime = 0, a.last = r, a.tail = n, a.tailMode = i, a.lastEffect = o)
  }

  function tl(e, t, n) {
    var r = t.pendingProps, i = r.revealOrder, o = r.tail;
    if (Pa(e, t, r.children, n), 0 != (2 & (r = Po.current))) r = 1 & r | 2, t.flags |= 64; else {
      if (null !== e && 0 != (64 & e.flags)) e: for (e = t.child; null !== e;) {
        if (13 === e.tag) null !== e.memoizedState && Qa(e, n); else if (19 === e.tag) Qa(e, n); else if (null !== e.child) {
          e.child.return = e, e = e.child;
          continue
        }
        if (e === t) break e;
        for (; null === e.sibling;) {
          if (null === e.return || e.return === t) break e;
          e = e.return
        }
        e.sibling.return = e.return, e = e.sibling
      }
      r &= 1
    }
    if (ui(Po, r), 0 == (2 & t.mode)) t.memoizedState = null; else switch (i) {
      case "forwards":
        for (n = t.child, i = null; null !== n;) null !== (e = n.alternate) && null === Bo(e) && (i = n), n = n.sibling;
        null === (n = i) ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), el(t, !1, i, n, o, t.lastEffect);
        break;
      case "backwards":
        for (n = null, i = t.child, t.child = null; null !== i;) {
          if (null !== (e = i.alternate) && null === Bo(e)) {
            t.child = i;
            break
          }
          e = i.sibling, i.sibling = n, n = i, i = e
        }
        el(t, !0, n, null, o, t.lastEffect);
        break;
      case "together":
        el(t, !1, null, null, void 0, t.lastEffect);
        break;
      default:
        t.memoizedState = null
    }
    return t.child
  }

  function nl(e, t, n) {
    if (null !== e && (t.dependencies = e.dependencies), zl |= t.lanes, 0 != (n & t.childLanes)) {
      if (null !== e && t.child !== e.child) throw Error(a(153));
      if (null !== t.child) {
        for (n = Hu(e = t.child, e.pendingProps), t.child = n, n.return = t; null !== e.sibling;) e = e.sibling, (n = n.sibling = Hu(e, e.pendingProps)).return = t;
        n.sibling = null
      }
      return t.child
    }
    return null
  }

  function rl(e, t) {
    if (!_o) switch (e.tailMode) {
      case "hidden":
        t = e.tail;
        for (var n = null; null !== t;) null !== t.alternate && (n = t), t = t.sibling;
        null === n ? e.tail = null : n.sibling = null;
        break;
      case "collapsed":
        n = e.tail;
        for (var r = null; null !== n;) null !== n.alternate && (r = n), n = n.sibling;
        null === r ? t || null === e.tail ? e.tail = null : e.tail.sibling = null : r.sibling = null
    }
  }

  function il(e, t, n) {
    var r = t.pendingProps;
    switch (t.tag) {
      case 2:
      case 16:
      case 15:
      case 0:
      case 11:
      case 7:
      case 8:
      case 12:
      case 9:
      case 14:
        return null;
      case 1:
        return pi(t.type) && vi(), null;
      case 3:
        return Ao(), li(fi), li(ci), qo(), (r = t.stateNode).pendingContext && (r.context = r.pendingContext, r.pendingContext = null), null !== e && null !== e.child || ($o(t) ? t.flags |= 4 : r.hydrate || (t.flags |= 256)), null;
      case 5:
        Fo(t);
        var o = Do(jo.current);
        if (n = t.type, null !== e && null != t.stateNode) Za(e, t, n, r), e.ref !== t.ref && (t.flags |= 128); else {
          if (!r) {
            if (null === t.stateNode) throw Error(a(166));
            return null
          }
          if (e = Do(Mo.current), $o(t)) {
            r = t.stateNode, n = t.type;
            var l = t.memoizedProps;
            switch (r[Yr] = t, r[Gr] = l, n) {
              case "dialog":
                Mr("cancel", r), Mr("close", r);
                break;
              case "iframe":
              case "object":
              case "embed":
                Mr("load", r);
                break;
              case "video":
              case "audio":
                for (e = 0; e < Cr.length; e++) Mr(Cr[e], r);
                break;
              case "source":
                Mr("error", r);
                break;
              case "img":
              case "image":
              case "link":
                Mr("error", r), Mr("load", r);
                break;
              case "details":
                Mr("toggle", r);
                break;
              case "input":
                ee(r, l), Mr("invalid", r);
                break;
              case "select":
                r.V = { wasMultiple: !!l.multiple }, Mr("invalid", r);
                break;
              case "textarea":
                ue(r, l), Mr("invalid", r)
            }
            for (var s in Se(n, l), e = null, l) l.hasOwnProperty(s) && (o = l[s], "children" === s ? "string" == typeof o ? r.textContent !== o && (e = ["children", o]) : "number" == typeof o && r.textContent !== "" + o && (e = ["children", "" + o]) : u.hasOwnProperty(s) && null != o && "onScroll" === s && Mr("scroll", r));
            switch (n) {
              case "input":
                G(r), re(r, l, !0);
                break;
              case "textarea":
                G(r), ce(r);
                break;
              case "select":
              case "option":
                break;
              default:
                "function" == typeof l.onClick && (r.onclick = Rr)
            }
            r = e, t.updateQueue = r, null !== r && (t.flags |= 4)
          } else {
            switch (s = 9 === o.nodeType ? o : o.ownerDocument, e === fe && (e = he(n)), e === fe ? "script" === n ? ((e = s.createElement("div")).innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : "string" == typeof r.is ? e = s.createElement(n, { is: r.is }) : (e = s.createElement(n), "select" === n && (s = e, r.multiple ? s.multiple = !0 : r.size && (s.size = r.size))) : e = s.createElementNS(e, n), e[Yr] = t, e[Gr] = r, Wa(e, t), t.stateNode = e, s = Ee(n, r), n) {
              case "dialog":
                Mr("cancel", e), Mr("close", e), o = r;
                break;
              case "iframe":
              case "object":
              case "embed":
                Mr("load", e), o = r;
                break;
              case "video":
              case "audio":
                for (o = 0; o < Cr.length; o++) Mr(Cr[o], e);
                o = r;
                break;
              case "source":
                Mr("error", e), o = r;
                break;
              case "img":
              case "image":
              case "link":
                Mr("error", e), Mr("load", e), o = r;
                break;
              case "details":
                Mr("toggle", e), o = r;
                break;
              case "input":
                ee(e, r), o = Q(e, r), Mr("invalid", e);
                break;
              case "option":
                o = oe(e, r);
                break;
              case "select":
                e.V = { wasMultiple: !!r.multiple }, o = i({}, r, { value: void 0 }), Mr("invalid", e);
                break;
              case "textarea":
                ue(e, r), o = le(e, r), Mr("invalid", e);
                break;
              default:
                o = r
            }
            Se(n, o);
            var c = o;
            for (l in c) if (c.hasOwnProperty(l)) {
              var f = c[l];
              "style" === l ? xe(e, f) : "dangerouslySetInnerHTML" === l ? null != (f = f ? f.H : void 0) && be(e, f) : "children" === l ? "string" == typeof f ? ("textarea" !== n || "" !== f) && ge(e, f) : "number" == typeof f && ge(e, "" + f) : "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && "autoFocus" !== l && (u.hasOwnProperty(l) ? null != f && "onScroll" === l && Mr("scroll", e) : null != f && w(e, l, f, s))
            }
            switch (n) {
              case "input":
                G(e), re(e, r, !1);
                break;
              case "textarea":
                G(e), ce(e);
                break;
              case "option":
                null != r.value && e.setAttribute("value", "" + X(r.value));
                break;
              case "select":
                e.multiple = !!r.multiple, null != (l = r.value) ? ae(e, !!r.multiple, l, !1) : null != r.defaultValue && ae(e, !!r.multiple, r.defaultValue, !0);
                break;
              default:
                "function" == typeof o.onClick && (e.onclick = Rr)
            }
            Nr(n, r) && (t.flags |= 4)
          }
          null !== t.ref && (t.flags |= 128)
        }
        return null;
      case 6:
        if (e && null != t.stateNode) qa(0, t, e.memoizedProps, r); else {
          if ("string" != typeof r && null === t.stateNode) throw Error(a(166));
          n = Do(jo.current), Do(Mo.current), $o(t) ? (r = t.stateNode, n = t.memoizedProps, r[Yr] = t, r.nodeValue !== n && (t.flags |= 4)) : ((r = (9 === n.nodeType ? n : n.ownerDocument).createTextNode(r))[Yr] = t, t.stateNode = r)
        }
        return null;
      case 13:
        return li(Po), r = t.memoizedState, 0 != (64 & t.flags) ? (t.lanes = n, t) : (r = null !== r, n = !1, null === e ? void 0 !== t.memoizedProps.fallback && $o(t) : n = null !== e.memoizedState, r && !n && 0 != (2 & t.mode) && (null === e && !0 !== t.memoizedProps.unstable_avoidThisFallback || 0 != (1 & Po.current) ? 0 === Pl && (Pl = 3) : (0 !== Pl && 3 !== Pl || (Pl = 4), null === Dl || 0 == (134217727 & zl) && 0 == (134217727 & _l) || vu(Dl, Al))), (r || n) && (t.flags |= 4), null);
      case 4:
        return Ao(), null === e && jr(t.stateNode.containerInfo), null;
      case 10:
        return eo(t), null;
      case 17:
        return pi(t.type) && vi(), null;
      case 19:
        if (li(Po), null === (r = t.memoizedState)) return null;
        if (l = 0 != (64 & t.flags), null === (s = r.rendering)) if (l) rl(r, !1); else {
          if (0 !== Pl || null !== e && 0 != (64 & e.flags)) for (e = t.child; null !== e;) {
            if (null !== (s = Bo(e))) {
              for (t.flags |= 64, rl(r, !1), null !== (l = s.updateQueue) && (t.updateQueue = l, t.flags |= 4), null === r.lastEffect && (t.firstEffect = null), t.lastEffect = r.lastEffect, r = n, n = t.child; null !== n;) e = r, (l = n).flags &= 2, l.nextEffect = null, l.firstEffect = null, l.lastEffect = null, null === (s = l.alternate) ? (l.childLanes = 0, l.lanes = e, l.child = null, l.memoizedProps = null, l.memoizedState = null, l.updateQueue = null, l.dependencies = null, l.stateNode = null) : (l.childLanes = s.childLanes, l.lanes = s.lanes, l.child = s.child, l.memoizedProps = s.memoizedProps, l.memoizedState = s.memoizedState, l.updateQueue = s.updateQueue, l.type = s.type, e = s.dependencies, l.dependencies = null === e ? null : {
                lanes: e.lanes,
                firstContext: e.firstContext
              }), n = n.sibling;
              return ui(Po, 1 & Po.current | 2), t.child
            }
            e = e.sibling
          }
          null !== r.tail && Ni() > Hl && (t.flags |= 64, l = !0, rl(r, !1), t.lanes = 33554432)
        } else {
          if (!l) if (null !== (e = Bo(s))) {
            if (t.flags |= 64, l = !0, null !== (n = e.updateQueue) && (t.updateQueue = n, t.flags |= 4), rl(r, !0), null === r.tail && "hidden" === r.tailMode && !s.alternate && !_o) return null !== (t = t.lastEffect = r.lastEffect) && (t.nextEffect = null), null
          } else 2 * Ni() - r.renderingStartTime > Hl && 1073741824 !== n && (t.flags |= 64, l = !0, rl(r, !1), t.lanes = 33554432);
          r.isBackwards ? (s.sibling = t.child, t.child = s) : (null !== (n = r.last) ? n.sibling = s : t.child = s, r.last = s)
        }
        return null !== r.tail ? (n = r.tail, r.rendering = n, r.tail = n.sibling, r.lastEffect = t.lastEffect, r.renderingStartTime = Ni(), n.sibling = null, t = Po.current, ui(Po, l ? 1 & t | 2 : 1 & t), n) : null;
      case 23:
      case 24:
        return wu(), null !== e && null !== e.memoizedState != (null !== t.memoizedState) && "unstable-defer-without-hiding" !== r.mode && (t.flags |= 4), null
    }
    throw Error(a(156, t.tag))
  }

  function ol(e) {
    switch (e.tag) {
      case 1:
        pi(e.type) && vi();
        var t = e.flags;
        return 4096 & t ? (e.flags = -4097 & t | 64, e) : null;
      case 3:
        if (Ao(), li(fi), li(ci), qo(), 0 != (64 & (t = e.flags))) throw Error(a(285));
        return e.flags = -4097 & t | 64, e;
      case 5:
        return Fo(e), null;
      case 13:
        return li(Po), 4096 & (t = e.flags) ? (e.flags = -4097 & t | 64, e) : null;
      case 19:
        return li(Po), null;
      case 4:
        return Ao(), null;
      case 10:
        return eo(e), null;
      case 23:
      case 24:
        return wu(), null;
      default:
        return null
    }
  }

  function al(e, t) {
    try {
      var n = "", r = t;
      do {
        n += Z(r), r = r.return
      } while (r);
      var i = n
    } catch (e) {
      i = "\nError generating stack: " + e.message + "\n" + e.stack
    }
    return { value: e, source: t, stack: i }
  }

  function ll(e, t) {
    try {
      console.error(t.value)
    } catch (e) {
      setTimeout((function () {
        throw e
      }))
    }
  }

  Wa = function (e, t) {
    for (var n = t.child; null !== n;) {
      if (5 === n.tag || 6 === n.tag) e.appendChild(n.stateNode); else if (4 !== n.tag && null !== n.child) {
        n.child.return = n, n = n.child;
        continue
      }
      if (n === t) break;
      for (; null === n.sibling;) {
        if (null === n.return || n.return === t) return;
        n = n.return
      }
      n.sibling.return = n.return, n = n.sibling
    }
  }, Za = function (e, t, n, r) {
    var o = e.memoizedProps;
    if (o !== r) {
      e = t.stateNode, Do(Mo.current);
      var a, l = null;
      switch (n) {
        case "input":
          o = Q(e, o), r = Q(e, r), l = [];
          break;
        case "option":
          o = oe(e, o), r = oe(e, r), l = [];
          break;
        case "select":
          o = i({}, o, { value: void 0 }), r = i({}, r, { value: void 0 }), l = [];
          break;
        case "textarea":
          o = le(e, o), r = le(e, r), l = [];
          break;
        default:
          "function" != typeof o.onClick && "function" == typeof r.onClick && (e.onclick = Rr)
      }
      for (f in Se(n, r), n = null, o) if (!r.hasOwnProperty(f) && o.hasOwnProperty(f) && null != o[f]) if ("style" === f) {
        var s = o[f];
        for (a in s) s.hasOwnProperty(a) && (n || (n = {}), n[a] = "")
      } else "dangerouslySetInnerHTML" !== f && "children" !== f && "suppressContentEditableWarning" !== f && "suppressHydrationWarning" !== f && "autoFocus" !== f && (u.hasOwnProperty(f) ? l || (l = []) : (l = l || []).push(f, null));
      for (f in r) {
        var c = r[f];
        if (s = null != o ? o[f] : void 0, r.hasOwnProperty(f) && c !== s && (null != c || null != s)) if ("style" === f) if (s) {
          for (a in s) !s.hasOwnProperty(a) || c && c.hasOwnProperty(a) || (n || (n = {}), n[a] = "");
          for (a in c) c.hasOwnProperty(a) && s[a] !== c[a] && (n || (n = {}), n[a] = c[a])
        } else n || (l || (l = []), l.push(f, n)), n = c; else "dangerouslySetInnerHTML" === f ? (c = c ? c.H : void 0, s = s ? s.H : void 0, null != c && s !== c && (l = l || []).push(f, c)) : "children" === f ? "string" != typeof c && "number" != typeof c || (l = l || []).push(f, "" + c) : "suppressContentEditableWarning" !== f && "suppressHydrationWarning" !== f && (u.hasOwnProperty(f) ? (null != c && "onScroll" === f && Mr("scroll", e), l || s === c || (l = [])) : "object" == typeof c && null !== c && c.$$typeof === P ? c.toString() : (l = l || []).push(f, c))
      }
      n && (l = l || []).push("style", n);
      var f = l;
      (t.updateQueue = f) && (t.flags |= 4)
    }
  }, qa = function (e, t, n, r) {
    n !== r && (t.flags |= 4)
  };
  var ul = "function" == typeof WeakMap ? WeakMap : Map;

  function sl(e, t, n) {
    (n = lo(-1, n)).tag = 3, n.payload = { element: null };
    var r = t.value;
    return n.callback = function () {
      ql || (ql = !0, Xl = r), ll(0, t)
    }, n
  }

  function cl(e, t, n) {
    (n = lo(-1, n)).tag = 3;
    var r = e.type.getDerivedStateFromError;
    if ("function" == typeof r) {
      var i = t.value;
      n.payload = function () {
        return ll(0, t), r(i)
      }
    }
    var o = e.stateNode;
    return null !== o && "function" == typeof o.componentDidCatch && (n.callback = function () {
      "function" != typeof r && (null === Yl ? Yl = new Set([this]) : Yl.add(this), ll(0, t));
      var e = t.stack;
      this.componentDidCatch(t.value, { componentStack: null !== e ? e : "" })
    }), n
  }

  var fl = "function" == typeof WeakSet ? WeakSet : Set;

  function dl(e) {
    var t = e.ref;
    if (null !== t) if ("function" == typeof t) try {
      t(null)
    } catch (t) {
      Ru(e, t)
    } else t.current = null
  }

  function hl(e, t) {
    switch (t.tag) {
      case 0:
      case 11:
      case 15:
      case 22:
        return;
      case 1:
        if (256 & t.flags && null !== e) {
          var n = e.memoizedProps, r = e.memoizedState;
          t = (e = t.stateNode).getSnapshotBeforeUpdate(t.elementType === t.type ? n : Xi(t.type, n), r), e.ne = t
        }
        return;
      case 3:
        return void (256 & t.flags && $r(t.stateNode.containerInfo));
      case 5:
      case 6:
      case 4:
      case 17:
        return
    }
    throw Error(a(163))
  }

  function pl(e, t, n) {
    switch (n.tag) {
      case 0:
      case 11:
      case 15:
      case 22:
        if (null !== (t = null !== (t = n.updateQueue) ? t.lastEffect : null)) {
          e = t = t.next;
          do {
            if (3 == (3 & e.tag)) {
              var r = e.create;
              e.destroy = r()
            }
            e = e.next
          } while (e !== t)
        }
        if (null !== (t = null !== (t = n.updateQueue) ? t.lastEffect : null)) {
          e = t = t.next;
          do {
            var i = e;
            r = i.next, 0 != (4 & (i = i.tag)) && 0 != (1 & i) && (Fu(n, e), Iu(n, e)), e = r
          } while (e !== t)
        }
        return;
      case 1:
        return e = n.stateNode, 4 & n.flags && (null === t ? e.componentDidMount() : (r = n.elementType === n.type ? t.memoizedProps : Xi(n.type, t.memoizedProps), e.componentDidUpdate(r, t.memoizedState, e.ne))), void (null !== (t = n.updateQueue) && fo(n, t, e));
      case 3:
        if (null !== (t = n.updateQueue)) {
          if (e = null, null !== n.child) switch (n.child.tag) {
            case 5:
              e = n.child.stateNode;
              break;
            case 1:
              e = n.child.stateNode
          }
          fo(n, t, e)
        }
        return;
      case 5:
        return e = n.stateNode, void (null === t && 4 & n.flags && Nr(n.type, n.memoizedProps) && e.focus());
      case 6:
      case 4:
      case 12:
        return;
      case 13:
        return void (null === n.memoizedState && (n = n.alternate, null !== n && (n = n.memoizedState, null !== n && (n = n.dehydrated, null !== n && xt(n)))));
      case 19:
      case 17:
      case 20:
      case 21:
      case 23:
      case 24:
        return
    }
    throw Error(a(163))
  }

  function vl(e, t) {
    for (var n = e; ;) {
      if (5 === n.tag) {
        var r = n.stateNode;
        if (t) "function" == typeof (r = r.style).setProperty ? r.setProperty("display", "none", "important") : r.display = "none"; else {
          r = n.stateNode;
          var i = n.memoizedProps.style;
          i = null != i && i.hasOwnProperty("display") ? i.display : null, r.style.display = ke("display", i)
        }
      } else if (6 === n.tag) n.stateNode.nodeValue = t ? "" : n.memoizedProps; else if ((23 !== n.tag && 24 !== n.tag || null === n.memoizedState || n === e) && null !== n.child) {
        n.child.return = n, n = n.child;
        continue
      }
      if (n === e) break;
      for (; null === n.sibling;) {
        if (null === n.return || n.return === e) return;
        n = n.return
      }
      n.sibling.return = n.return, n = n.sibling
    }
  }

  function ml(e, t) {
    if (ki && "function" == typeof ki.onCommitFiberUnmount) try {
      ki.onCommitFiberUnmount(wi, t)
    } catch (e) {
    }
    switch (t.tag) {
      case 0:
      case 11:
      case 14:
      case 15:
      case 22:
        if (null !== (e = t.updateQueue) && null !== (e = e.lastEffect)) {
          var n = e = e.next;
          do {
            var r = n, i = r.destroy;
            if (r = r.tag, void 0 !== i) if (0 != (4 & r)) Fu(t, n); else {
              r = t;
              try {
                i()
              } catch (e) {
                Ru(r, e)
              }
            }
            n = n.next
          } while (n !== e)
        }
        break;
      case 1:
        if (dl(t), "function" == typeof (e = t.stateNode).componentWillUnmount) try {
          e.props = t.memoizedProps, e.state = t.memoizedState, e.componentWillUnmount()
        } catch (e) {
          Ru(t, e)
        }
        break;
      case 5:
        dl(t);
        break;
      case 4:
        xl(e, t)
    }
  }

  function bl(e) {
    e.alternate = null, e.child = null, e.dependencies = null, e.firstEffect = null, e.lastEffect = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.return = null, e.updateQueue = null
  }

  function gl(e) {
    return 5 === e.tag || 3 === e.tag || 4 === e.tag
  }

  function yl(e) {
    e: {
      for (var t = e.return; null !== t;) {
        if (gl(t)) break e;
        t = t.return
      }
      throw Error(a(160))
    }
    var n = t;
    switch (t = n.stateNode, n.tag) {
      case 5:
        var r = !1;
        break;
      case 3:
      case 4:
        t = t.containerInfo, r = !0;
        break;
      default:
        throw Error(a(161))
    }
    16 & n.flags && (ge(t, ""), n.flags &= -17);
    e: t: for (n = e; ;) {
      for (; null === n.sibling;) {
        if (null === n.return || gl(n.return)) {
          n = null;
          break e
        }
        n = n.return
      }
      for (n.sibling.return = n.return, n = n.sibling; 5 !== n.tag && 6 !== n.tag && 18 !== n.tag;) {
        if (2 & n.flags) continue t;
        if (null === n.child || 4 === n.tag) continue t;
        n.child.return = n, n = n.child
      }
      if (!(2 & n.flags)) {
        n = n.stateNode;
        break e
      }
    }
    r ? wl(e, n, t) : kl(e, n, t)
  }

  function wl(e, t, n) {
    var r = e.tag, i = 5 === r || 6 === r;
    if (i) e = i ? e.stateNode : e.stateNode.instance, t ? 8 === n.nodeType ? n.parentNode.insertBefore(e, t) : n.insertBefore(e, t) : (8 === n.nodeType ? (t = n.parentNode).insertBefore(e, n) : (t = n).appendChild(e), null != (n = n.re) || null !== t.onclick || (t.onclick = Rr)); else if (4 !== r && null !== (e = e.child)) for (wl(e, t, n), e = e.sibling; null !== e;) wl(e, t, n), e = e.sibling
  }

  function kl(e, t, n) {
    var r = e.tag, i = 5 === r || 6 === r;
    if (i) e = i ? e.stateNode : e.stateNode.instance, t ? n.insertBefore(e, t) : n.appendChild(e); else if (4 !== r && null !== (e = e.child)) for (kl(e, t, n), e = e.sibling; null !== e;) kl(e, t, n), e = e.sibling
  }

  function xl(e, t) {
    for (var n, r, i = t, o = !1; ;) {
      if (!o) {
        o = i.return;
        e: for (; ;) {
          if (null === o) throw Error(a(160));
          switch (n = o.stateNode, o.tag) {
            case 5:
              r = !1;
              break e;
            case 3:
            case 4:
              n = n.containerInfo, r = !0;
              break e
          }
          o = o.return
        }
        o = !0
      }
      if (5 === i.tag || 6 === i.tag) {
        e: for (var l = e, u = i, s = u; ;) if (ml(l, s), null !== s.child && 4 !== s.tag) s.child.return = s, s = s.child; else {
          if (s === u) break e;
          for (; null === s.sibling;) {
            if (null === s.return || s.return === u) break e;
            s = s.return
          }
          s.sibling.return = s.return, s = s.sibling
        }
        r ? (l = n, u = i.stateNode, 8 === l.nodeType ? l.parentNode.removeChild(u) : l.removeChild(u)) : n.removeChild(i.stateNode)
      } else if (4 === i.tag) {
        if (null !== i.child) {
          n = i.stateNode.containerInfo, r = !0, i.child.return = i, i = i.child;
          continue
        }
      } else if (ml(e, i), null !== i.child) {
        i.child.return = i, i = i.child;
        continue
      }
      if (i === t) break;
      for (; null === i.sibling;) {
        if (null === i.return || i.return === t) return;
        4 === (i = i.return).tag && (o = !1)
      }
      i.sibling.return = i.return, i = i.sibling
    }
  }

  function Cl(e, t) {
    switch (t.tag) {
      case 0:
      case 11:
      case 14:
      case 15:
      case 22:
        var n = t.updateQueue;
        if (null !== (n = null !== n ? n.lastEffect : null)) {
          var r = n = n.next;
          do {
            3 == (3 & r.tag) && (e = r.destroy, r.destroy = void 0, void 0 !== e && e()), r = r.next
          } while (r !== n)
        }
        return;
      case 1:
        return;
      case 5:
        if (null != (n = t.stateNode)) {
          r = t.memoizedProps;
          var i = null !== e ? e.memoizedProps : r;
          e = t.type;
          var o = t.updateQueue;
          if (t.updateQueue = null, null !== o) {
            for (n[Gr] = r, "input" === e && "radio" === r.type && null != r.name && te(n, r), Ee(e, i), t = Ee(e, r), i = 0; i < o.length; i += 2) {
              var l = o[i], u = o[i + 1];
              "style" === l ? xe(n, u) : "dangerouslySetInnerHTML" === l ? be(n, u) : "children" === l ? ge(n, u) : w(n, l, u, t)
            }
            switch (e) {
              case "input":
                ne(n, r);
                break;
              case "textarea":
                se(n, r);
                break;
              case "select":
                e = n.V.wasMultiple, n.V.wasMultiple = !!r.multiple, null != (o = r.value) ? ae(n, !!r.multiple, o, !1) : e !== !!r.multiple && (null != r.defaultValue ? ae(n, !!r.multiple, r.defaultValue, !0) : ae(n, !!r.multiple, r.multiple ? [] : "", !1))
            }
          }
        }
        return;
      case 6:
        if (null === t.stateNode) throw Error(a(162));
        return void (t.stateNode.nodeValue = t.memoizedProps);
      case 3:
        return void ((n = t.stateNode).hydrate && (n.hydrate = !1, xt(n.containerInfo)));
      case 12:
        return;
      case 13:
        return null !== t.memoizedState && (Vl = Ni(), vl(t.child, !0)), void Sl(t);
      case 19:
        return void Sl(t);
      case 17:
        return;
      case 23:
      case 24:
        return void vl(t, null !== t.memoizedState)
    }
    throw Error(a(163))
  }

  function Sl(e) {
    var t = e.updateQueue;
    if (null !== t) {
      e.updateQueue = null;
      var n = e.stateNode;
      null === n && (n = e.stateNode = new fl), t.forEach((function (t) {
        var r = _u.bind(null, e, t);
        n.has(t) || (n.add(t), t.then(r, r))
      }))
    }
  }

  function El(e, t) {
    return null !== e && (null === (e = e.memoizedState) || null !== e.dehydrated) && (null !== (t = t.memoizedState) && null === t.dehydrated)
  }

  var Tl = Math.ceil, Ml = k.ReactCurrentDispatcher, Ol = k.ReactCurrentOwner, jl = 0, Dl = null, Ll = null, Al = 0,
    Il = 0, Fl = ai(0), Pl = 0, Bl = null, Rl = 0, zl = 0, _l = 0, Nl = 0, Ul = null, Vl = 0, Hl = 1 / 0;

  function $l() {
    Hl = Ni() + 500
  }

  var Wl, Zl = null, ql = !1, Xl = null, Yl = null, Gl = !1, Kl = null, Jl = 90, Ql = [], eu = [], tu = null, nu = 0,
    ru = null, iu = -1, ou = 0, au = 0, lu = null, uu = !1;

  function su() {
    return 0 != (48 & jl) ? Ni() : -1 !== iu ? iu : iu = Ni()
  }

  function cu(e) {
    if (0 == (2 & (e = e.mode))) return 1;
    if (0 == (4 & e)) return 99 === Ui() ? 1 : 2;
    if (0 === ou && (ou = Rl), 0 !== qi.transition) {
      0 !== au && (au = null !== Ul ? Ul.pendingLanes : 0), e = ou;
      var t = 4186112 & ~au;
      return 0 === (t &= -t) && (0 === (t = (e = 4186112 & ~e) & -e) && (t = 8192)), t
    }
    return e = Ui(), 0 != (4 & jl) && 98 === e ? e = Nt(12, ou) : e = Nt(e = function (e) {
      switch (e) {
        case 99:
          return 15;
        case 98:
          return 10;
        case 97:
        case 96:
          return 8;
        case 95:
          return 2;
        default:
          return 0
      }
    }(e), ou), e
  }

  function fu(e, t, n) {
    if (50 < nu) throw nu = 0, ru = null, Error(a(185));
    if (null === (e = du(e, t))) return null;
    Ht(e, t, n), e === Dl && (_l |= t, 4 === Pl && vu(e, Al));
    var r = Ui();
    1 === t ? 0 != (8 & jl) && 0 == (48 & jl) ? mu(e) : (hu(e, n), 0 === jl && ($l(), Wi())) : (0 == (4 & jl) || 98 !== r && 99 !== r || (null === tu ? tu = new Set([e]) : tu.add(e)), hu(e, n)), Ul = e
  }

  function du(e, t) {
    e.lanes |= t;
    var n = e.alternate;
    for (null !== n && (n.lanes |= t), n = e, e = e.return; null !== e;) e.childLanes |= t, null !== (n = e.alternate) && (n.childLanes |= t), n = e, e = e.return;
    return 3 === n.tag ? n.stateNode : null
  }

  function hu(e, t) {
    for (var n = e.callbackNode, r = e.suspendedLanes, i = e.pingedLanes, o = e.expirationTimes, l = e.pendingLanes; 0 < l;) {
      var u = 31 - $t(l), s = 1 << u, c = o[u];
      if (-1 === c) {
        if (0 == (s & r) || 0 != (s & i)) {
          c = t, Rt(s);
          var f = Bt;
          o[u] = 10 <= f ? c + 250 : 6 <= f ? c + 5e3 : -1
        }
      } else c <= t && (e.expiredLanes |= s);
      l &= ~s
    }
    if (r = zt(e, e === Dl ? Al : 0), t = Bt, 0 === r) null !== n && (n !== Fi && Si(n), e.callbackNode = null, e.callbackPriority = 0); else {
      if (null !== n) {
        if (e.callbackPriority === t) return;
        n !== Fi && Si(n)
      }
      15 === t ? (n = mu.bind(null, e), null === Bi ? (Bi = [n], Ri = Ci(ji, Zi)) : Bi.push(n), n = Fi) : 14 === t ? n = $i(99, mu.bind(null, e)) : n = $i(n = function (e) {
        switch (e) {
          case 15:
          case 14:
            return 99;
          case 13:
          case 12:
          case 11:
          case 10:
            return 98;
          case 9:
          case 8:
          case 7:
          case 6:
          case 4:
          case 5:
            return 97;
          case 3:
          case 2:
          case 1:
            return 95;
          case 0:
            return 90;
          default:
            throw Error(a(358, e))
        }
      }(t), pu.bind(null, e)), e.callbackPriority = t, e.callbackNode = n
    }
  }

  function pu(e) {
    if (iu = -1, au = ou = 0, 0 != (48 & jl)) throw Error(a(327));
    var t = e.callbackNode;
    if (Au() && e.callbackNode !== t) return null;
    var n = zt(e, e === Dl ? Al : 0);
    if (0 === n) return null;
    var r = n, i = jl;
    jl |= 16;
    var o = Cu();
    for (Dl === e && Al === r || ($l(), ku(e, r)); ;) try {
      Tu();
      break
    } catch (t) {
      xu(e, t)
    }
    if (Qi(), Ml.current = o, jl = i, null !== Ll ? r = 0 : (Dl = null, Al = 0, r = Pl), 0 != (Rl & _l)) ku(e, 0); else if (0 !== r) {
      if (2 === r && (jl |= 64, e.hydrate && (e.hydrate = !1, $r(e.containerInfo)), 0 !== (n = _t(e)) && (r = Su(e, n))), 1 === r) throw t = Bl, ku(e, 0), vu(e, n), hu(e, Ni()), t;
      switch (e.finishedWork = e.current.alternate, e.finishedLanes = n, r) {
        case 0:
        case 1:
          throw Error(a(345));
        case 2:
          ju(e);
          break;
        case 3:
          if (vu(e, n), (62914560 & n) === n && 10 < (r = Vl + 500 - Ni())) {
            if (0 !== zt(e, 0)) break;
            if (((i = e.suspendedLanes) & n) !== n) {
              su(), e.pingedLanes |= e.suspendedLanes & i;
              break
            }
            e.timeoutHandle = Vr(ju.bind(null, e), r);
            break
          }
          ju(e);
          break;
        case 4:
          if (vu(e, n), (4186112 & n) === n) break;
          for (r = e.eventTimes, i = -1; 0 < n;) {
            var l = 31 - $t(n);
            o = 1 << l, (l = r[l]) > i && (i = l), n &= ~o
          }
          if (n = i, 10 < (n = (120 > (n = Ni() - n) ? 120 : 480 > n ? 480 : 1080 > n ? 1080 : 1920 > n ? 1920 : 3e3 > n ? 3e3 : 4320 > n ? 4320 : 1960 * Tl(n / 1960)) - n)) {
            e.timeoutHandle = Vr(ju.bind(null, e), n);
            break
          }
          ju(e);
          break;
        case 5:
          ju(e);
          break;
        default:
          throw Error(a(329))
      }
    }
    return hu(e, Ni()), e.callbackNode === t ? pu.bind(null, e) : null
  }

  function vu(e, t) {
    for (t &= ~Nl, t &= ~_l, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t;) {
      var n = 31 - $t(t), r = 1 << n;
      e[n] = -1, t &= ~r
    }
  }

  function mu(e) {
    if (0 != (48 & jl)) throw Error(a(327));
    if (Au(), e === Dl && 0 != (e.expiredLanes & Al)) {
      var t = Al, n = Su(e, t);
      0 != (Rl & _l) && (n = Su(e, t = zt(e, t)))
    } else n = Su(e, t = zt(e, 0));
    if (0 !== e.tag && 2 === n && (jl |= 64, e.hydrate && (e.hydrate = !1, $r(e.containerInfo)), 0 !== (t = _t(e)) && (n = Su(e, t))), 1 === n) throw n = Bl, ku(e, 0), vu(e, t), hu(e, Ni()), n;
    return e.finishedWork = e.current.alternate, e.finishedLanes = t, ju(e), hu(e, Ni()), null
  }

  function bu(e, t) {
    var n = jl;
    jl |= 1;
    try {
      return e(t)
    } finally {
      0 === (jl = n) && ($l(), Wi())
    }
  }

  function gu(e, t) {
    var n = jl;
    jl &= -2, jl |= 8;
    try {
      return e(t)
    } finally {
      0 === (jl = n) && ($l(), Wi())
    }
  }

  function yu(e, t) {
    ui(Fl, Il), Il |= t, Rl |= t
  }

  function wu() {
    Il = Fl.current, li(Fl)
  }

  function ku(e, t) {
    e.finishedWork = null, e.finishedLanes = 0;
    var n = e.timeoutHandle;
    if (-1 !== n && (e.timeoutHandle = -1, Hr(n)), null !== Ll) for (n = Ll.return; null !== n;) {
      var r = n;
      switch (r.tag) {
        case 1:
          null != (r = r.type.childContextTypes) && vi();
          break;
        case 3:
          Ao(), li(fi), li(ci), qo();
          break;
        case 5:
          Fo(r);
          break;
        case 4:
          Ao();
          break;
        case 13:
        case 19:
          li(Po);
          break;
        case 10:
          eo(r);
          break;
        case 23:
        case 24:
          wu()
      }
      n = n.return
    }
    Dl = e, Ll = Hu(e.current, null), Al = Il = Rl = t, Pl = 0, Bl = null, Nl = _l = zl = 0
  }

  function xu(e, t) {
    for (; ;) {
      var n = Ll;
      try {
        if (Qi(), Xo.current = ja, ea) {
          for (var r = Ko.memoizedState; null !== r;) {
            var i = r.queue;
            null !== i && (i.pending = null), r = r.next
          }
          ea = !1
        }
        if (Go = 0, Qo = Jo = Ko = null, ta = !1, Ol.current = null, null === n || null === n.return) {
          Pl = 1, Bl = t, Ll = null;
          break
        }
        e: {
          var o = e, a = n.return, l = n, u = t;
          if (t = Al, l.flags |= 2048, l.firstEffect = l.lastEffect = null, null !== u && "object" == typeof u && "function" == typeof u.then) {
            var s = u;
            if (0 == (2 & l.mode)) {
              var c = l.alternate;
              c ? (l.updateQueue = c.updateQueue, l.memoizedState = c.memoizedState, l.lanes = c.lanes) : (l.updateQueue = null, l.memoizedState = null)
            }
            var f = 0 != (1 & Po.current), d = a;
            do {
              var h;
              if (h = 13 === d.tag) {
                var p = d.memoizedState;
                if (null !== p) h = null !== p.dehydrated; else {
                  var v = d.memoizedProps;
                  h = void 0 !== v.fallback && (!0 !== v.unstable_avoidThisFallback || !f)
                }
              }
              if (h) {
                var m = d.updateQueue;
                if (null === m) {
                  var b = new Set;
                  b.add(s), d.updateQueue = b
                } else m.add(s);
                if (0 == (2 & d.mode)) {
                  if (d.flags |= 64, l.flags |= 16384, l.flags &= -2981, 1 === l.tag) if (null === l.alternate) l.tag = 17; else {
                    var g = lo(-1, 1);
                    g.tag = 2, uo(l, g)
                  }
                  l.lanes |= 1;
                  break e
                }
                u = void 0, l = t;
                var y = o.pingCache;
                if (null === y ? (y = o.pingCache = new ul, u = new Set, y.set(s, u)) : void 0 === (u = y.get(s)) && (u = new Set, y.set(s, u)), !u.has(l)) {
                  u.add(l);
                  var w = zu.bind(null, o, s, l);
                  s.then(w, w)
                }
                d.flags |= 4096, d.lanes = t;
                break e
              }
              d = d.return
            } while (null !== d);
            u = Error((q(l.type) || "A React component") + " suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")
          }
          5 !== Pl && (Pl = 2), u = al(u, l), d = a;
          do {
            switch (d.tag) {
              case 3:
                o = u, d.flags |= 4096, t &= -t, d.lanes |= t, so(d, sl(0, o, t));
                break e;
              case 1:
                o = u;
                var k = d.type, x = d.stateNode;
                if (0 == (64 & d.flags) && ("function" == typeof k.getDerivedStateFromError || null !== x && "function" == typeof x.componentDidCatch && (null === Yl || !Yl.has(x)))) {
                  d.flags |= 4096, t &= -t, d.lanes |= t, so(d, cl(d, o, t));
                  break e
                }
            }
            d = d.return
          } while (null !== d)
        }
        Ou(n)
      } catch (e) {
        t = e, Ll === n && null !== n && (Ll = n = n.return);
        continue
      }
      break
    }
  }

  function Cu() {
    var e = Ml.current;
    return Ml.current = ja, null === e ? ja : e
  }

  function Su(e, t) {
    var n = jl;
    jl |= 16;
    var r = Cu();
    for (Dl === e && Al === t || ku(e, t); ;) try {
      Eu();
      break
    } catch (t) {
      xu(e, t)
    }
    if (Qi(), jl = n, Ml.current = r, null !== Ll) throw Error(a(261));
    return Dl = null, Al = 0, Pl
  }

  function Eu() {
    for (; null !== Ll;) Mu(Ll)
  }

  function Tu() {
    for (; null !== Ll && !Ei();) Mu(Ll)
  }

  function Mu(e) {
    var t = Wl(e.alternate, e, Il);
    e.memoizedProps = e.pendingProps, null === t ? Ou(e) : Ll = t, Ol.current = null
  }

  function Ou(e) {
    var t = e;
    do {
      var n = t.alternate;
      if (e = t.return, 0 == (2048 & t.flags)) {
        if (null !== (n = il(n, t, Il))) return void (Ll = n);
        if (24 !== (n = t).tag && 23 !== n.tag || null === n.memoizedState || 0 != (1073741824 & Il) || 0 == (4 & n.mode)) {
          for (var r = 0, i = n.child; null !== i;) r |= i.lanes | i.childLanes, i = i.sibling;
          n.childLanes = r
        }
        null !== e && 0 == (2048 & e.flags) && (null === e.firstEffect && (e.firstEffect = t.firstEffect), null !== t.lastEffect && (null !== e.lastEffect && (e.lastEffect.nextEffect = t.firstEffect), e.lastEffect = t.lastEffect), 1 < t.flags && (null !== e.lastEffect ? e.lastEffect.nextEffect = t : e.firstEffect = t, e.lastEffect = t))
      } else {
        if (null !== (n = ol(t))) return n.flags &= 2047, void (Ll = n);
        null !== e && (e.firstEffect = e.lastEffect = null, e.flags |= 2048)
      }
      if (null !== (t = t.sibling)) return void (Ll = t);
      Ll = t = e
    } while (null !== t);
    0 === Pl && (Pl = 5)
  }

  function ju(e) {
    var t = Ui();
    return Hi(99, Du.bind(null, e, t)), null
  }

  function Du(e, t) {
    do {
      Au()
    } while (null !== Kl);
    if (0 != (48 & jl)) throw Error(a(327));
    var n = e.finishedWork;
    if (null === n) return null;
    if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(a(177));
    e.callbackNode = null;
    var r = n.lanes | n.childLanes, i = r, o = e.pendingLanes & ~i;
    e.pendingLanes = i, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= i, e.mutableReadLanes &= i, e.entangledLanes &= i, i = e.entanglements;
    for (var l = e.eventTimes, u = e.expirationTimes; 0 < o;) {
      var s = 31 - $t(o), c = 1 << s;
      i[s] = 0, l[s] = -1, u[s] = -1, o &= ~c
    }
    if (null !== tu && 0 == (24 & r) && tu.has(e) && tu.delete(e), e === Dl && (Ll = Dl = null, Al = 0), 1 < n.flags ? null !== n.lastEffect ? (n.lastEffect.nextEffect = n, r = n.firstEffect) : r = n : r = n.firstEffect, null !== r) {
      if (i = jl, jl |= 32, Ol.current = null, zr = Yt, pr(l = hr())) {
        if ("selectionStart" in l) u = {
          start: l.selectionStart,
          end: l.selectionEnd
        }; else e: if (u = (u = l.ownerDocument) && u.defaultView || window, (c = u.getSelection && u.getSelection()) && 0 !== c.rangeCount) {
          u = c.anchorNode, o = c.anchorOffset, s = c.focusNode, c = c.focusOffset;
          try {
            u.nodeType, s.nodeType
          } catch (e) {
            u = null;
            break e
          }
          var f = 0, d = -1, h = -1, p = 0, v = 0, m = l, b = null;
          t: for (; ;) {
            for (var g; m !== u || 0 !== o && 3 !== m.nodeType || (d = f + o), m !== s || 0 !== c && 3 !== m.nodeType || (h = f + c), 3 === m.nodeType && (f += m.nodeValue.length), null !== (g = m.firstChild);) b = m, m = g;
            for (; ;) {
              if (m === l) break t;
              if (b === u && ++p === o && (d = f), b === s && ++v === c && (h = f), null !== (g = m.nextSibling)) break;
              b = (m = b).parentNode
            }
            m = g
          }
          u = -1 === d || -1 === h ? null : { start: d, end: h }
        } else u = null;
        u = u || { start: 0, end: 0 }
      } else u = null;
      _r = { focusedElem: l, selectionRange: u }, Yt = !1, lu = null, uu = !1, Zl = r;
      do {
        try {
          Lu()
        } catch (e) {
          if (null === Zl) throw Error(a(330));
          Ru(Zl, e), Zl = Zl.nextEffect
        }
      } while (null !== Zl);
      lu = null, Zl = r;
      do {
        try {
          for (l = e; null !== Zl;) {
            var y = Zl.flags;
            if (16 & y && ge(Zl.stateNode, ""), 128 & y) {
              var w = Zl.alternate;
              if (null !== w) {
                var k = w.ref;
                null !== k && ("function" == typeof k ? k(null) : k.current = null)
              }
            }
            switch (1038 & y) {
              case 2:
                yl(Zl), Zl.flags &= -3;
                break;
              case 6:
                yl(Zl), Zl.flags &= -3, Cl(Zl.alternate, Zl);
                break;
              case 1024:
                Zl.flags &= -1025;
                break;
              case 1028:
                Zl.flags &= -1025, Cl(Zl.alternate, Zl);
                break;
              case 4:
                Cl(Zl.alternate, Zl);
                break;
              case 8:
                xl(l, u = Zl);
                var x = u.alternate;
                bl(u), null !== x && bl(x)
            }
            Zl = Zl.nextEffect
          }
        } catch (e) {
          if (null === Zl) throw Error(a(330));
          Ru(Zl, e), Zl = Zl.nextEffect
        }
      } while (null !== Zl);
      if (k = _r, w = hr(), y = k.focusedElem, l = k.selectionRange, w !== y && y && y.ownerDocument && dr(y.ownerDocument.documentElement, y)) {
        null !== l && pr(y) && (w = l.start, void 0 === (k = l.end) && (k = w), "selectionStart" in y ? (y.selectionStart = w, y.selectionEnd = Math.min(k, y.value.length)) : (k = (w = y.ownerDocument || document) && w.defaultView || window).getSelection && (k = k.getSelection(), u = y.textContent.length, x = Math.min(l.start, u), l = void 0 === l.end ? x : Math.min(l.end, u), !k.extend && x > l && (u = l, l = x, x = u), u = fr(y, x), o = fr(y, l), u && o && (1 !== k.rangeCount || k.anchorNode !== u.node || k.anchorOffset !== u.offset || k.focusNode !== o.node || k.focusOffset !== o.offset) && ((w = w.createRange()).setStart(u.node, u.offset), k.removeAllRanges(), x > l ? (k.addRange(w), k.extend(o.node, o.offset)) : (w.setEnd(o.node, o.offset), k.addRange(w))))), w = [];
        for (k = y; k = k.parentNode;) 1 === k.nodeType && w.push({
          element: k,
          left: k.scrollLeft,
          top: k.scrollTop
        });
        for ("function" == typeof y.focus && y.focus(), y = 0; y < w.length; y++) (k = w[y]).element.scrollLeft = k.left, k.element.scrollTop = k.top
      }
      Yt = !!zr, _r = zr = null, e.current = n, Zl = r;
      do {
        try {
          for (y = e; null !== Zl;) {
            var C = Zl.flags;
            if (36 & C && pl(y, Zl.alternate, Zl), 128 & C) {
              w = void 0;
              var S = Zl.ref;
              if (null !== S) {
                var E = Zl.stateNode;
                switch (Zl.tag) {
                  case 5:
                    w = E;
                    break;
                  default:
                    w = E
                }
                "function" == typeof S ? S(w) : S.current = w
              }
            }
            Zl = Zl.nextEffect
          }
        } catch (e) {
          if (null === Zl) throw Error(a(330));
          Ru(Zl, e), Zl = Zl.nextEffect
        }
      } while (null !== Zl);
      Zl = null, Pi(), jl = i
    } else e.current = n;
    if (Gl) Gl = !1, Kl = e, Jl = t; else for (Zl = r; null !== Zl;) t = Zl.nextEffect, Zl.nextEffect = null, 8 & Zl.flags && ((C = Zl).sibling = null, C.stateNode = null), Zl = t;
    if (0 === (r = e.pendingLanes) && (Yl = null), 1 === r ? e === ru ? nu++ : (nu = 0, ru = e) : nu = 0, n = n.stateNode, ki && "function" == typeof ki.onCommitFiberRoot) try {
      ki.onCommitFiberRoot(wi, n, void 0, 64 == (64 & n.current.flags))
    } catch (e) {
    }
    if (hu(e, Ni()), ql) throw ql = !1, e = Xl, Xl = null, e;
    return 0 != (8 & jl) || Wi(), null
  }

  function Lu() {
    for (; null !== Zl;) {
      var e = Zl.alternate;
      uu || null === lu || (0 != (8 & Zl.flags) ? et(Zl, lu) && (uu = !0) : 13 === Zl.tag && El(e, Zl) && et(Zl, lu) && (uu = !0));
      var t = Zl.flags;
      0 != (256 & t) && hl(e, Zl), 0 == (512 & t) || Gl || (Gl = !0, $i(97, (function () {
        return Au(), null
      }))), Zl = Zl.nextEffect
    }
  }

  function Au() {
    if (90 !== Jl) {
      var e = 97 < Jl ? 97 : Jl;
      return Jl = 90, Hi(e, Pu)
    }
    return !1
  }

  function Iu(e, t) {
    Ql.push(t, e), Gl || (Gl = !0, $i(97, (function () {
      return Au(), null
    })))
  }

  function Fu(e, t) {
    eu.push(t, e), Gl || (Gl = !0, $i(97, (function () {
      return Au(), null
    })))
  }

  function Pu() {
    if (null === Kl) return !1;
    var e = Kl;
    if (Kl = null, 0 != (48 & jl)) throw Error(a(331));
    var t = jl;
    jl |= 32;
    var n = eu;
    eu = [];
    for (var r = 0; r < n.length; r += 2) {
      var i = n[r], o = n[r + 1], l = i.destroy;
      if (i.destroy = void 0, "function" == typeof l) try {
        l()
      } catch (e) {
        if (null === o) throw Error(a(330));
        Ru(o, e)
      }
    }
    for (n = Ql, Ql = [], r = 0; r < n.length; r += 2) {
      i = n[r], o = n[r + 1];
      try {
        var u = i.create;
        i.destroy = u()
      } catch (e) {
        if (null === o) throw Error(a(330));
        Ru(o, e)
      }
    }
    for (u = e.current.firstEffect; null !== u;) e = u.nextEffect, u.nextEffect = null, 8 & u.flags && (u.sibling = null, u.stateNode = null), u = e;
    return jl = t, Wi(), !0
  }

  function Bu(e, t, n) {
    uo(e, t = sl(0, t = al(n, t), 1)), t = su(), null !== (e = du(e, 1)) && (Ht(e, 1, t), hu(e, t))
  }

  function Ru(e, t) {
    if (3 === e.tag) Bu(e, e, t); else for (var n = e.return; null !== n;) {
      if (3 === n.tag) {
        Bu(n, e, t);
        break
      }
      if (1 === n.tag) {
        var r = n.stateNode;
        if ("function" == typeof n.type.getDerivedStateFromError || "function" == typeof r.componentDidCatch && (null === Yl || !Yl.has(r))) {
          var i = cl(n, e = al(t, e), 1);
          if (uo(n, i), i = su(), null !== (n = du(n, 1))) Ht(n, 1, i), hu(n, i); else if ("function" == typeof r.componentDidCatch && (null === Yl || !Yl.has(r))) try {
            r.componentDidCatch(t, e)
          } catch (e) {
          }
          break
        }
      }
      n = n.return
    }
  }

  function zu(e, t, n) {
    var r = e.pingCache;
    null !== r && r.delete(t), t = su(), e.pingedLanes |= e.suspendedLanes & n, Dl === e && (Al & n) === n && (4 === Pl || 3 === Pl && (62914560 & Al) === Al && 500 > Ni() - Vl ? ku(e, 0) : Nl |= n), hu(e, t)
  }

  function _u(e, t) {
    var n = e.stateNode;
    null !== n && n.delete(t), 0 === (t = 0) && (0 == (2 & (t = e.mode)) ? t = 1 : 0 == (4 & t) ? t = 99 === Ui() ? 1 : 2 : (0 === ou && (ou = Rl), 0 === (t = Ut(62914560 & ~ou)) && (t = 4194304))), n = su(), null !== (e = du(e, t)) && (Ht(e, t, n), hu(e, n))
  }

  function Nu(e, t, n, r) {
    this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.flags = 0, this.lastEffect = this.firstEffect = this.nextEffect = null, this.childLanes = this.lanes = 0, this.alternate = null
  }

  function Uu(e, t, n, r) {
    return new Nu(e, t, n, r)
  }

  function Vu(e) {
    return !(!(e = e.prototype) || !e.isReactComponent)
  }

  function Hu(e, t) {
    var n = e.alternate;
    return null === n ? ((n = Uu(e.tag, t, e.key, e.mode)).elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.nextEffect = null, n.firstEffect = null, n.lastEffect = null), n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = null === t ? null : {
      lanes: t.lanes,
      firstContext: t.firstContext
    }, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n
  }

  function $u(e, t, n, r, i, o) {
    var l = 2;
    if (r = e, "function" == typeof e) Vu(e) && (l = 1); else if ("string" == typeof e) l = 5; else e: switch (e) {
      case S:
        return Wu(n.children, i, o, t);
      case B:
        l = 8, i |= 16;
        break;
      case E:
        l = 8, i |= 1;
        break;
      case T:
        return (e = Uu(12, n, t, 8 | i)).elementType = T, e.type = T, e.lanes = o, e;
      case D:
        return (e = Uu(13, n, t, i)).type = D, e.elementType = D, e.lanes = o, e;
      case L:
        return (e = Uu(19, n, t, i)).elementType = L, e.lanes = o, e;
      case R:
        return Zu(n, i, o, t);
      case z:
        return (e = Uu(24, n, t, i)).elementType = z, e.lanes = o, e;
      default:
        if ("object" == typeof e && null !== e) switch (e.$$typeof) {
          case M:
            l = 10;
            break e;
          case O:
            l = 9;
            break e;
          case j:
            l = 11;
            break e;
          case A:
            l = 14;
            break e;
          case I:
            l = 16, r = null;
            break e;
          case F:
            l = 22;
            break e
        }
        throw Error(a(130, null == e ? e : typeof e, ""))
    }
    return (t = Uu(l, n, t, i)).elementType = e, t.type = r, t.lanes = o, t
  }

  function Wu(e, t, n, r) {
    return (e = Uu(7, e, r, t)).lanes = n, e
  }

  function Zu(e, t, n, r) {
    return (e = Uu(23, e, r, t)).elementType = R, e.lanes = n, e
  }

  function qu(e, t, n) {
    return (e = Uu(6, e, null, t)).lanes = n, e
  }

  function Xu(e, t, n) {
    return (t = Uu(4, null !== e.children ? e.children : [], e.key, t)).lanes = n, t.stateNode = {
      containerInfo: e.containerInfo,
      pendingChildren: null,
      implementation: e.implementation
    }, t
  }

  function Yu(e, t, n) {
    this.tag = t, this.containerInfo = e, this.finishedWork = this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.pendingContext = this.context = null, this.hydrate = n, this.callbackNode = null, this.callbackPriority = 0, this.eventTimes = Vt(0), this.expirationTimes = Vt(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = Vt(0), this.mutableSourceEagerHydrationData = null
  }

  function Gu(e, t, n) {
    var r = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
    return { $$typeof: C, key: null == r ? null : "" + r, children: e, containerInfo: t, implementation: n }
  }

  function Ku(e, t, n, r) {
    var i = t.current, o = su(), l = cu(i);
    e: if (n) {
      t: {
        if (Ge(n = n.G) !== n || 1 !== n.tag) throw Error(a(170));
        var u = n;
        do {
          switch (u.tag) {
            case 3:
              u = u.stateNode.context;
              break t;
            case 1:
              if (pi(u.type)) {
                u = u.stateNode.Y;
                break t
              }
          }
          u = u.return
        } while (null !== u);
        throw Error(a(171))
      }
      if (1 === n.tag) {
        var s = n.type;
        if (pi(s)) {
          n = bi(n, s, u);
          break e
        }
      }
      n = u
    } else n = si;
    return null === t.context ? t.context = n : t.pendingContext = n, (t = lo(o, l)).payload = { element: e }, null !== (r = void 0 === r ? null : r) && (t.callback = r), uo(i, t), fu(i, l, o), l
  }

  function Ju(e) {
    if (!(e = e.current).child) return null;
    switch (e.child.tag) {
      case 5:
      default:
        return e.child.stateNode
    }
  }

  function Qu(e, t) {
    if (null !== (e = e.memoizedState) && null !== e.dehydrated) {
      var n = e.retryLane;
      e.retryLane = 0 !== n && n < t ? n : t
    }
  }

  function es(e, t) {
    Qu(e, t), (e = e.alternate) && Qu(e, t)
  }

  function ts(e, t, n) {
    var r = null != n && null != n.hydrationOptions && n.hydrationOptions.mutableSources || null;
    if (n = new Yu(e, t, null != n && !0 === n.hydrate), t = Uu(3, null, null, 2 === t ? 7 : 1 === t ? 3 : 0), n.current = t, t.stateNode = n, oo(t), e[Kr] = n.current, jr(8 === e.nodeType ? e.parentNode : e), r) for (e = 0; e < r.length; e++) {
      var i = (t = r[e]).ee;
      i = i(t.te), null == n.mutableSourceEagerHydrationData ? n.mutableSourceEagerHydrationData = [t, i] : n.mutableSourceEagerHydrationData.push(t, i)
    }
    this.ie = n
  }

  function ns(e) {
    return !(!e || 1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType && (8 !== e.nodeType || " react-mount-point-unstable " !== e.nodeValue))
  }

  function rs(e, t, n, r, i) {
    var o = n.re;
    if (o) {
      var a = o.ie;
      if ("function" == typeof i) {
        var l = i;
        i = function () {
          var e = Ju(a);
          l.call(e)
        }
      }
      Ku(t, a, e, i)
    } else {
      if (o = n.re = function (e, t) {
        if (t || (t = !(!(t = e ? 9 === e.nodeType ? e.documentElement : e.firstChild : null) || 1 !== t.nodeType || !t.hasAttribute("data-reactroot"))), !t) for (var n; n = e.lastChild;) e.removeChild(n);
        return new ts(e, 0, t ? { hydrate: !0 } : void 0)
      }(n, r), a = o.ie, "function" == typeof i) {
        var u = i;
        i = function () {
          var e = Ju(a);
          u.call(e)
        }
      }
      gu((function () {
        Ku(t, a, e, i)
      }))
    }
    return Ju(a)
  }

  function is(e, t) {
    var n = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
    if (!ns(t)) throw Error(a(200));
    return Gu(e, t, null, n)
  }

  Wl = function (e, t, n) {
    var r = t.lanes;
    if (null !== e) if (e.memoizedProps !== t.pendingProps || fi.current) Fa = !0; else {
      if (0 == (n & r)) {
        switch (Fa = !1, t.tag) {
          case 3:
            $a(t), Wo();
            break;
          case 5:
            Io(t);
            break;
          case 1:
            pi(t.type) && gi(t);
            break;
          case 4:
            Lo(t, t.stateNode.containerInfo);
            break;
          case 10:
            r = t.memoizedProps.value;
            var i = t.type.B;
            ui(Yi, i.I), i.I = r;
            break;
          case 13:
            if (null !== t.memoizedState) return 0 != (n & t.child.childLanes) ? Ya(e, t, n) : (ui(Po, 1 & Po.current), null !== (t = nl(e, t, n)) ? t.sibling : null);
            ui(Po, 1 & Po.current);
            break;
          case 19:
            if (r = 0 != (n & t.childLanes), 0 != (64 & e.flags)) {
              if (r) return tl(e, t, n);
              t.flags |= 64
            }
            if (null !== (i = t.memoizedState) && (i.rendering = null, i.tail = null, i.lastEffect = null), ui(Po, Po.current), r) break;
            return null;
          case 23:
          case 24:
            return t.lanes = 0, _a(e, t, n)
        }
        return nl(e, t, n)
      }
      Fa = 0 != (16384 & e.flags)
    } else Fa = !1;
    switch (t.lanes = 0, t.tag) {
      case 2:
        if (r = t.type, null !== e && (e.alternate = null, t.alternate = null, t.flags |= 2), e = t.pendingProps, i = hi(t, ci.current), no(t, n), i = ia(null, t, r, e, i, n), t.flags |= 1, "object" == typeof i && null !== i && "function" == typeof i.render && void 0 === i.$$typeof) {
          if (t.tag = 1, t.memoizedState = null, t.updateQueue = null, pi(r)) {
            var o = !0;
            gi(t)
          } else o = !1;
          t.memoizedState = null !== i.state && void 0 !== i.state ? i.state : null, oo(t);
          var l = r.getDerivedStateFromProps;
          "function" == typeof l && po(t, r, l, e), i.updater = vo, t.stateNode = i, i.G = t, yo(t, r, e, n), t = Ha(null, t, r, !0, o, n)
        } else t.tag = 0, Pa(null, t, i, n), t = t.child;
        return t;
      case 16:
        i = t.elementType;
        e: {
          switch (null !== e && (e.alternate = null, t.alternate = null, t.flags |= 2), e = t.pendingProps, i = (o = i._)(i.R), t.type = i, o = t.tag = function (e) {
            if ("function" == typeof e) return Vu(e) ? 1 : 0;
            if (null != e) {
              if ((e = e.$$typeof) === j) return 11;
              if (e === A) return 14
            }
            return 2
          }(i), e = Xi(i, e), o) {
            case 0:
              t = Ua(null, t, i, e, n);
              break e;
            case 1:
              t = Va(null, t, i, e, n);
              break e;
            case 11:
              t = Ba(null, t, i, e, n);
              break e;
            case 14:
              t = Ra(null, t, i, Xi(i.type, e), r, n);
              break e
          }
          throw Error(a(306, i, ""))
        }
        return t;
      case 0:
        return r = t.type, i = t.pendingProps, Ua(e, t, r, i = t.elementType === r ? i : Xi(r, i), n);
      case 1:
        return r = t.type, i = t.pendingProps, Va(e, t, r, i = t.elementType === r ? i : Xi(r, i), n);
      case 3:
        if ($a(t), r = t.updateQueue, null === e || null === r) throw Error(a(282));
        if (r = t.pendingProps, i = null !== (i = t.memoizedState) ? i.element : null, ao(e, t), co(t, r, null, n), (r = t.memoizedState.element) === i) Wo(), t = nl(e, t, n); else {
          if ((o = (i = t.stateNode).hydrate) && (zo = Wr(t.stateNode.containerInfo.firstChild), Ro = t, o = _o = !0), o) {
            if (null != (e = i.mutableSourceEagerHydrationData)) for (i = 0; i < e.length; i += 2) (o = e[i]).J = e[i + 1], Zo.push(o);
            for (n = Eo(t, null, r, n), t.child = n; n;) n.flags = -3 & n.flags | 1024, n = n.sibling
          } else Pa(e, t, r, n), Wo();
          t = t.child
        }
        return t;
      case 5:
        return Io(t), null === e && Vo(t), r = t.type, i = t.pendingProps, o = null !== e ? e.memoizedProps : null, l = i.children, Ur(r, i) ? l = null : null !== o && Ur(r, o) && (t.flags |= 16), Na(e, t), Pa(e, t, l, n), t.child;
      case 6:
        return null === e && Vo(t), null;
      case 13:
        return Ya(e, t, n);
      case 4:
        return Lo(t, t.stateNode.containerInfo), r = t.pendingProps, null === e ? t.child = So(t, null, r, n) : Pa(e, t, r, n), t.child;
      case 11:
        return r = t.type, i = t.pendingProps, Ba(e, t, r, i = t.elementType === r ? i : Xi(r, i), n);
      case 7:
        return Pa(e, t, t.pendingProps, n), t.child;
      case 8:
      case 12:
        return Pa(e, t, t.pendingProps.children, n), t.child;
      case 10:
        e: {
          r = t.type.B, i = t.pendingProps, l = t.memoizedProps, o = i.value;
          var u = t.type.B;
          if (ui(Yi, u.I), u.I = o, null !== l) if (u = l.value, 0 === (o = lr(u, o) ? 0 : 0 | ("function" == typeof r.A ? r.A(u, o) : 1073741823))) {
            if (l.children === i.children && !fi.current) {
              t = nl(e, t, n);
              break e
            }
          } else for (null !== (u = t.child) && (u.return = t); null !== u;) {
            var s = u.dependencies;
            if (null !== s) {
              l = u.child;
              for (var c = s.firstContext; null !== c;) {
                if (c.context === r && 0 != (c.observedBits & o)) {
                  1 === u.tag && ((c = lo(-1, n & -n)).tag = 2, uo(u, c)), u.lanes |= n, null !== (c = u.alternate) && (c.lanes |= n), to(u.return, n), s.lanes |= n;
                  break
                }
                c = c.next
              }
            } else l = 10 === u.tag && u.type === t.type ? null : u.child;
            if (null !== l) l.return = u; else for (l = u; null !== l;) {
              if (l === t) {
                l = null;
                break
              }
              if (null !== (u = l.sibling)) {
                u.return = l.return, l = u;
                break
              }
              l = l.return
            }
            u = l
          }
          Pa(e, t, i.children, n), t = t.child
        }
        return t;
      case 9:
        return i = t.type, r = (o = t.pendingProps).children, no(t, n), r = r(i = ro(i, o.unstable_observedBits)), t.flags |= 1, Pa(e, t, r, n), t.child;
      case 14:
        return o = Xi(i = t.type, t.pendingProps), Ra(e, t, i, o = Xi(i.type, o), r, n);
      case 15:
        return za(e, t, t.type, t.pendingProps, r, n);
      case 17:
        return r = t.type, i = t.pendingProps, i = t.elementType === r ? i : Xi(r, i), null !== e && (e.alternate = null, t.alternate = null, t.flags |= 2), t.tag = 1, pi(r) ? (e = !0, gi(t)) : e = !1, no(t, n), bo(t, r, i), yo(t, r, i, n), Ha(null, t, r, !0, e, n);
      case 19:
        return tl(e, t, n);
      case 23:
      case 24:
        return _a(e, t, n)
    }
    throw Error(a(156, t.tag))
  }, ts.prototype.render = function (e) {
    Ku(e, this.ie, null, null)
  }, ts.prototype.unmount = function () {
    var e = this.ie, t = e.containerInfo;
    Ku(null, e, null, (function () {
      t[Kr] = null
    }))
  }, tt = function (e) {
    13 === e.tag && (fu(e, 4, su()), es(e, 4))
  }, nt = function (e) {
    13 === e.tag && (fu(e, 67108864, su()), es(e, 67108864))
  }, rt = function (e) {
    if (13 === e.tag) {
      var t = su(), n = cu(e);
      fu(e, n, t), es(e, n)
    }
  }, it = function (e, t) {
    return t()
  }, Me = function (e, t, n) {
    switch (t) {
      case "input":
        if (ne(e, n), t = n.name, "radio" === n.type && null != t) {
          for (n = e; n.parentNode;) n = n.parentNode;
          for (n = n.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < n.length; t++) {
            var r = n[t];
            if (r !== e && r.form === e.form) {
              var i = ni(r);
              if (!i) throw Error(a(90));
              K(r), ne(r, i)
            }
          }
        }
        break;
      case "textarea":
        se(e, n);
        break;
      case "select":
        null != (t = n.value) && ae(e, !!n.multiple, t, !1)
    }
  }, Ie = bu, Fe = function (e, t, n, r, i) {
    var o = jl;
    jl |= 4;
    try {
      return Hi(98, e.bind(null, t, n, r, i))
    } finally {
      0 === (jl = o) && ($l(), Wi())
    }
  }, Pe = function () {
    0 == (49 & jl) && (function () {
      if (null !== tu) {
        var e = tu;
        tu = null, e.forEach((function (e) {
          e.expiredLanes |= 24 & e.pendingLanes, hu(e, Ni())
        }))
      }
      Wi()
    }(), Au())
  }, Be = function (e, t) {
    var n = jl;
    jl |= 2;
    try {
      return e(t)
    } finally {
      0 === (jl = n) && ($l(), Wi())
    }
  };
  var os = { Events: [ei, ti, ni, Le, Ae, Au, { current: !1 }] },
    as = { findFiberByHostInstance: Qr, bundleType: 0, version: "17.0.1", rendererPackageName: "react-dom" }, ls = {
      bundleType: as.bundleType,
      version: as.version,
      rendererPackageName: as.rendererPackageName,
      rendererConfig: as.rendererConfig,
      overrideHookState: null,
      overrideHookStateDeletePath: null,
      overrideHookStateRenamePath: null,
      overrideProps: null,
      overridePropsDeletePath: null,
      overridePropsRenamePath: null,
      setSuspenseHandler: null,
      scheduleUpdate: null,
      currentDispatcherRef: k.ReactCurrentDispatcher,
      findHostInstanceByFiber: function (e) {
        return null === (e = Qe(e)) ? null : e.stateNode
      },
      findFiberByHostInstance: as.findFiberByHostInstance || function () {
        return null
      },
      findHostInstancesForRefresh: null,
      scheduleRefresh: null,
      scheduleRoot: null,
      setRefreshHandler: null,
      getCurrentFiber: null
    };
  if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
    var us = __REACT_DEVTOOLS_GLOBAL_HOOK__;
    if (!us.isDisabled && us.supportsFiber) try {
      wi = us.inject(ls), ki = us
    } catch (me) {
    }
  }
  t.T = os, t.createPortal = is, t.findDOMNode = function (e) {
    if (null == e) return null;
    if (1 === e.nodeType) return e;
    var t = e.G;
    if (void 0 === t) {
      if ("function" == typeof e.render) throw Error(a(188));
      throw Error(a(268, Object.keys(e)))
    }
    return e = null === (e = Qe(t)) ? null : e.stateNode
  }, t.flushSync = function (e, t) {
    var n = jl;
    if (0 != (48 & n)) return e(t);
    jl |= 1;
    try {
      if (e) return Hi(99, e.bind(null, t))
    } finally {
      jl = n, Wi()
    }
  }, t.hydrate = function (e, t, n) {
    if (!ns(t)) throw Error(a(200));
    return rs(null, e, t, !0, n)
  }, t.render = function (e, t, n) {
    if (!ns(t)) throw Error(a(200));
    return rs(null, e, t, !1, n)
  }, t.unmountComponentAtNode = function (e) {
    if (!ns(e)) throw Error(a(40));
    return !!e.re && (gu((function () {
      rs(null, null, e, !1, (function () {
        e.re = null, e[Kr] = null
      }))
    })), !0)
  }, t.unstable_batchedUpdates = bu, t.unstable_createPortal = function (e, t) {
    return is(e, t, 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null)
  }, t.unstable_renderSubtreeIntoContainer = function (e, t, n, r) {
    if (!ns(n)) throw Error(a(200));
    if (null == e || void 0 === e.G) throw Error(a(38));
    return rs(e, t, n, !1, r)
  }, t.version = "17.0.1"
}, function (e, t, n) {
  "use strict";
  e.exports = n(22)
}, function (e, t, n) {
  "use strict";
  var r, i, o, a;
  if ("object" == typeof performance && "function" == typeof performance.now) {
    var l = performance;
    t.unstable_now = function () {
      return l.now()
    }
  } else {
    var u = Date, s = u.now();
    t.unstable_now = function () {
      return u.now() - s
    }
  }
  if ("undefined" == typeof window || "function" != typeof MessageChannel) {
    var c = null, f = null, d = function () {
      if (null !== c) try {
        var e = t.unstable_now();
        c(!0, e), c = null
      } catch (e) {
        throw setTimeout(d, 0), e
      }
    };
    r = function (e) {
      null !== c ? setTimeout(r, 0, e) : (c = e, setTimeout(d, 0))
    }, i = function (e, t) {
      f = setTimeout(e, t)
    }, o = function () {
      clearTimeout(f)
    }, t.unstable_shouldYield = function () {
      return !1
    }, a = t.unstable_forceFrameRate = function () {
    }
  } else {
    var h = window.setTimeout, p = window.clearTimeout;
    if ("undefined" != typeof console) {
      var v = window.cancelAnimationFrame;
      "function" != typeof window.requestAnimationFrame && console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"), "function" != typeof v && console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")
    }
    var m = !1, b = null, g = -1, y = 5, w = 0;
    t.unstable_shouldYield = function () {
      return t.unstable_now() >= w
    }, a = function () {
    }, t.unstable_forceFrameRate = function (e) {
      0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : y = 0 < e ? Math.floor(1e3 / e) : 5
    };
    var k = new MessageChannel, x = k.port2;
    k.port1.onmessage = function () {
      if (null !== b) {
        var e = t.unstable_now();
        w = e + y;
        try {
          b(!0, e) ? x.postMessage(null) : (m = !1, b = null)
        } catch (e) {
          throw x.postMessage(null), e
        }
      } else m = !1
    }, r = function (e) {
      b = e, m || (m = !0, x.postMessage(null))
    }, i = function (e, n) {
      g = h((function () {
        e(t.unstable_now())
      }), n)
    }, o = function () {
      p(g), g = -1
    }
  }

  function C(e, t) {
    var n = e.length;
    e.push(t);
    e: for (; ;) {
      var r = n - 1 >>> 1, i = e[r];
      if (!(void 0 !== i && 0 < T(i, t))) break e;
      e[r] = t, e[n] = i, n = r
    }
  }

  function S(e) {
    return void 0 === (e = e[0]) ? null : e
  }

  function E(e) {
    var t = e[0];
    if (void 0 !== t) {
      var n = e.pop();
      if (n !== t) {
        e[0] = n;
        e: for (var r = 0, i = e.length; r < i;) {
          var o = 2 * (r + 1) - 1, a = e[o], l = o + 1, u = e[l];
          if (void 0 !== a && 0 > T(a, n)) void 0 !== u && 0 > T(u, a) ? (e[r] = u, e[l] = n, r = l) : (e[r] = a, e[o] = n, r = o); else {
            if (!(void 0 !== u && 0 > T(u, n))) break e;
            e[r] = u, e[l] = n, r = l
          }
        }
      }
      return t
    }
    return null
  }

  function T(e, t) {
    var n = e.sortIndex - t.sortIndex;
    return 0 !== n ? n : e.id - t.id
  }

  var M = [], O = [], j = 1, D = null, L = 3, A = !1, I = !1, F = !1;

  function P(e) {
    for (var t = S(O); null !== t;) {
      if (null === t.callback) E(O); else {
        if (!(t.startTime <= e)) break;
        E(O), t.sortIndex = t.expirationTime, C(M, t)
      }
      t = S(O)
    }
  }

  function B(e) {
    if (F = !1, P(e), !I) if (null !== S(M)) I = !0, r(R); else {
      var t = S(O);
      null !== t && i(B, t.startTime - e)
    }
  }

  function R(e, n) {
    I = !1, F && (F = !1, o()), A = !0;
    var r = L;
    try {
      for (P(n), D = S(M); null !== D && (!(D.expirationTime > n) || e && !t.unstable_shouldYield());) {
        var a = D.callback;
        if ("function" == typeof a) {
          D.callback = null, L = D.priorityLevel;
          var l = a(D.expirationTime <= n);
          n = t.unstable_now(), "function" == typeof l ? D.callback = l : D === S(M) && E(M), P(n)
        } else E(M);
        D = S(M)
      }
      if (null !== D) var u = !0; else {
        var s = S(O);
        null !== s && i(B, s.startTime - n), u = !1
      }
      return u
    } finally {
      D = null, L = r, A = !1
    }
  }

  var z = a;
  t.unstable_IdlePriority = 5, t.unstable_ImmediatePriority = 1, t.unstable_LowPriority = 4, t.unstable_NormalPriority = 3, t.unstable_Profiling = null, t.unstable_UserBlockingPriority = 2, t.unstable_cancelCallback = function (e) {
    e.callback = null
  }, t.unstable_continueExecution = function () {
    I || A || (I = !0, r(R))
  }, t.unstable_getCurrentPriorityLevel = function () {
    return L
  }, t.unstable_getFirstCallbackNode = function () {
    return S(M)
  }, t.unstable_next = function (e) {
    switch (L) {
      case 1:
      case 2:
      case 3:
        var t = 3;
        break;
      default:
        t = L
    }
    var n = L;
    L = t;
    try {
      return e()
    } finally {
      L = n
    }
  }, t.unstable_pauseExecution = function () {
  }, t.unstable_requestPaint = z, t.unstable_runWithPriority = function (e, t) {
    switch (e) {
      case 1:
      case 2:
      case 3:
      case 4:
      case 5:
        break;
      default:
        e = 3
    }
    var n = L;
    L = e;
    try {
      return t()
    } finally {
      L = n
    }
  }, t.unstable_scheduleCallback = function (e, n, a) {
    var l = t.unstable_now();
    switch ("object" == typeof a && null !== a ? a = "number" == typeof (a = a.delay) && 0 < a ? l + a : l : a = l, e) {
      case 1:
        var u = -1;
        break;
      case 2:
        u = 250;
        break;
      case 5:
        u = 1073741823;
        break;
      case 4:
        u = 1e4;
        break;
      default:
        u = 5e3
    }
    return e = {
      id: j++,
      callback: n,
      priorityLevel: e,
      startTime: a,
      expirationTime: u = a + u,
      sortIndex: -1
    }, a > l ? (e.sortIndex = a, C(O, e), null === S(M) && e === S(O) && (F ? o() : F = !0, i(B, a - l))) : (e.sortIndex = u, C(M, e), I || A || (I = !0, r(R))), e
  }, t.unstable_wrapCallback = function (e) {
    var t = L;
    return function () {
      var n = L;
      L = t;
      try {
        return e.apply(this, arguments)
      } finally {
        L = n
      }
    }
  }
}, function (e, t) {
  function n() {
    return e.exports = n = Object.assign || function (e) {
      for (var t = 1; t < arguments.length; t++) {
        var n = arguments[t];
        for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r])
      }
      return e
    }, n.apply(this, arguments)
  }

  e.exports = n
}, function (e, t, n) {
  "use strict";
  e.exports = n(25)
}, function (e, t, n) {
  "use strict";
  var r = "function" == typeof Symbol && Symbol.for, i = r ? Symbol.for("react.element") : 60103,
    o = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107,
    l = r ? Symbol.for("react.strict_mode") : 60108, u = r ? Symbol.for("react.profiler") : 60114,
    s = r ? Symbol.for("react.provider") : 60109, c = r ? Symbol.for("react.context") : 60110,
    f = r ? Symbol.for("react.async_mode") : 60111, d = r ? Symbol.for("react.concurrent_mode") : 60111,
    h = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113,
    v = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115,
    b = r ? Symbol.for("react.lazy") : 60116, g = r ? Symbol.for("react.block") : 60121,
    y = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118,
    k = r ? Symbol.for("react.scope") : 60119;

  function x(e) {
    if ("object" == typeof e && null !== e) {
      var t = e.$$typeof;
      switch (t) {
        case i:
          switch (e = e.type) {
            case f:
            case d:
            case a:
            case u:
            case l:
            case p:
              return e;
            default:
              switch (e = e && e.$$typeof) {
                case c:
                case h:
                case b:
                case m:
                case s:
                  return e;
                default:
                  return t
              }
          }
        case o:
          return t
      }
    }
  }

  function C(e) {
    return x(e) === d
  }

  t.AsyncMode = f, t.ConcurrentMode = d, t.ContextConsumer = c, t.ContextProvider = s, t.Element = i, t.ForwardRef = h, t.Fragment = a, t.Lazy = b, t.Memo = m, t.Portal = o, t.Profiler = u, t.StrictMode = l, t.Suspense = p, t.isAsyncMode = function (e) {
    return C(e) || x(e) === f
  }, t.isConcurrentMode = C, t.isContextConsumer = function (e) {
    return x(e) === c
  }, t.isContextProvider = function (e) {
    return x(e) === s
  }, t.isElement = function (e) {
    return "object" == typeof e && null !== e && e.$$typeof === i
  }, t.isForwardRef = function (e) {
    return x(e) === h
  }, t.isFragment = function (e) {
    return x(e) === a
  }, t.isLazy = function (e) {
    return x(e) === b
  }, t.isMemo = function (e) {
    return x(e) === m
  }, t.isPortal = function (e) {
    return x(e) === o
  }, t.isProfiler = function (e) {
    return x(e) === u
  }, t.isStrictMode = function (e) {
    return x(e) === l
  }, t.isSuspense = function (e) {
    return x(e) === p
  }, t.isValidElementType = function (e) {
    return "string" == typeof e || "function" == typeof e || e === a || e === d || e === u || e === l || e === p || e === v || "object" == typeof e && null !== e && (e.$$typeof === b || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === h || e.$$typeof === y || e.$$typeof === w || e.$$typeof === k || e.$$typeof === g)
  }, t.typeOf = x
}, function (e, t, n) {
  "use strict";
  Object.defineProperty(t, "u", { value: !0 });
  var r, i = n(3), o = n(13), a = n(3), l = n(16).byEbmlID;
  !function (e) {
    e[e.STATE_TAG = 1] = "STATE_TAG", e[e.STATE_SIZE = 2] = "STATE_SIZE", e[e.STATE_CONTENT = 3] = "STATE_CONTENT"
  }(r || (r = {}));
  var u = function () {
    function e() {
      this.ae = new i.Buffer(0), this.le = [], this.ue = r.STATE_TAG, this.se = 0, this.ce = 0, this.k = l, this.L = []
    }

    return e.prototype.decode = function (e) {
      this.readChunk(e);
      var t = this.L;
      return this.L = [], t
    }, e.prototype.readChunk = function (e) {
      for (this.ae = a.concat([this.ae, new i.Buffer(e)]); this.se < this.ae.length && (this.ue !== r.STATE_TAG || this.readTag()) && (this.ue !== r.STATE_SIZE || this.readSize()) && (this.ue !== r.STATE_CONTENT || this.readContent()););
    }, e.prototype.getSchemaInfo = function (e) {
      return this.k[e] || { name: "unknown", level: -1, type: "unknown", description: "unknown" }
    }, e.prototype.readTag = function () {
      if (this.se >= this.ae.length) return !1;
      var e = i.readVint(this.ae, this.se);
      if (null == e) return !1;
      var t = this.ae.slice(this.se, this.se + e.length).reduce((function (e, t, n, r) {
        return e + t * Math.pow(16, 2 * (r.length - 1 - n))
      }), 0), n = this.getSchemaInfo(t), o = {
        EBML_ID: t.toString(16),
        schema: n,
        type: n.type,
        name: n.name,
        level: n.level,
        tagStart: this.ce,
        tagEnd: this.ce + e.length,
        sizeStart: this.ce + e.length,
        sizeEnd: null,
        dataStart: null,
        dataEnd: null,
        dataSize: null,
        data: null
      };
      return this.le.push(o), this.se += e.length, this.ce += e.length, this.ue = r.STATE_SIZE, !0
    }, e.prototype.readSize = function () {
      if (this.se >= this.ae.length) return !1;
      var e = i.readVint(this.ae, this.se);
      if (null == e) return !1;
      var t = this.le[this.le.length - 1];
      return t.sizeEnd = t.sizeStart + e.length, t.dataStart = t.sizeEnd, t.dataSize = e.value, -1 === e.value ? (t.dataEnd = -1, "m" === t.type && (t.unknownSize = !0)) : t.dataEnd = t.sizeEnd + e.value, this.se += e.length, this.ce += e.length, this.ue = r.STATE_CONTENT, !0
    }, e.prototype.readContent = function () {
      var e = this.le[this.le.length - 1];
      if ("m" === e.type) {
        if (e.isEnd = !1, this.L.push(e), this.ue = r.STATE_TAG, 0 === e.dataSize) {
          var t = Object.assign({}, e, { isEnd: !0 });
          this.L.push(t), this.le.pop()
        }
        return !0
      }
      if (this.ae.length < this.se + e.dataSize) return !1;
      var n = this.ae.slice(this.se, this.se + e.dataSize);
      switch (this.ae = this.ae.slice(this.se + e.dataSize), e.data = n, e.type) {
        case "u":
          e.value = n.readUIntBE(0, n.length);
          break;
        case "i":
          e.value = n.readIntBE(0, n.length);
          break;
        case "f":
          e.value = 4 === e.dataSize ? n.readFloatBE(0) : 8 === e.dataSize ? n.readDoubleBE(0) : (console.warn("cannot read " + e.dataSize + " octets float. failback to 0"), 0);
          break;
        case "s":
          e.value = n.toString("ascii");
          break;
        case "8":
          e.value = n.toString("utf8");
          break;
        case "b":
          e.value = n;
          break;
        case "d":
          e.value = i.convertEBMLDateToJSDate(new o.Int64BE(n).toNumber())
      }
      if (null === e.value) throw new Error("unknown tag type:" + e.type);
      for (this.L.push(e), this.ce += e.dataSize, this.ue = r.STATE_TAG, this.se = 0, this.le.pop(); this.le.length > 0;) {
        var a = this.le[this.le.length - 1];
        if (a.dataEnd < 0) return this.le.pop(), !0;
        if (this.ce < a.dataEnd) break;
        if ("m" !== a.type) throw new Error("parent element is not master element");
        t = Object.assign({}, a, { isEnd: !0 });
        this.L.push(t), this.le.pop()
      }
      return !0
    }, e
  }();
  t.default = u
}, function (e, t, n) {
  "use strict";
  t.byteLength = function (e) {
    var t = s(e), n = t[0], r = t[1];
    return 3 * (n + r) / 4 - r
  }, t.toByteArray = function (e) {
    var t, n, r = s(e), a = r[0], l = r[1], u = new o(function (e, t, n) {
      return 3 * (t + n) / 4 - n
    }(0, a, l)), c = 0, f = l > 0 ? a - 4 : a;
    for (n = 0; n < f; n += 4) t = i[e.charCodeAt(n)] << 18 | i[e.charCodeAt(n + 1)] << 12 | i[e.charCodeAt(n + 2)] << 6 | i[e.charCodeAt(n + 3)], u[c++] = t >> 16 & 255, u[c++] = t >> 8 & 255, u[c++] = 255 & t;
    2 === l && (t = i[e.charCodeAt(n)] << 2 | i[e.charCodeAt(n + 1)] >> 4, u[c++] = 255 & t);
    1 === l && (t = i[e.charCodeAt(n)] << 10 | i[e.charCodeAt(n + 1)] << 4 | i[e.charCodeAt(n + 2)] >> 2, u[c++] = t >> 8 & 255, u[c++] = 255 & t);
    return u
  }, t.fromByteArray = function (e) {
    for (var t, n = e.length, i = n % 3, o = [], a = 16383, l = 0, u = n - i; l < u; l += a) o.push(c(e, l, l + a > u ? u : l + a));
    1 === i ? (t = e[n - 1], o.push(r[t >> 2] + r[t << 4 & 63] + "==")) : 2 === i && (t = (e[n - 2] << 8) + e[n - 1], o.push(r[t >> 10] + r[t >> 4 & 63] + r[t << 2 & 63] + "="));
    return o.join("")
  };
  for (var r = [], i = [], o = "undefined" != typeof Uint8Array ? Uint8Array : Array, a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", l = 0, u = a.length; l < u; ++l) r[l] = a[l], i[a.charCodeAt(l)] = l;

  function s(e) {
    var t = e.length;
    if (t % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");
    var n = e.indexOf("=");
    return -1 === n && (n = t), [n, n === t ? 0 : 4 - n % 4]
  }

  function c(e, t, n) {
    for (var i, o, a = [], l = t; l < n; l += 3) i = (e[l] << 16 & 16711680) + (e[l + 1] << 8 & 65280) + (255 & e[l + 2]), a.push(r[(o = i) >> 18 & 63] + r[o >> 12 & 63] + r[o >> 6 & 63] + r[63 & o]);
    return a.join("")
  }

  i["-".charCodeAt(0)] = 62, i["_".charCodeAt(0)] = 63
}, function (e, t) {
  t.read = function (e, t, n, r, i) {
    var o, a, l = 8 * i - r - 1, u = (1 << l) - 1, s = u >> 1, c = -7, f = n ? i - 1 : 0, d = n ? -1 : 1,
      h = e[t + f];
    for (f += d, o = h & (1 << -c) - 1, h >>= -c, c += l; c > 0; o = 256 * o + e[t + f], f += d, c -= 8);
    for (a = o & (1 << -c) - 1, o >>= -c, c += r; c > 0; a = 256 * a + e[t + f], f += d, c -= 8);
    if (0 === o) o = 1 - s; else {
      if (o === u) return a ? NaN : 1 / 0 * (h ? -1 : 1);
      a += Math.pow(2, r), o -= s
    }
    return (h ? -1 : 1) * a * Math.pow(2, o - r)
  }, t.write = function (e, t, n, r, i, o) {
    var a, l, u, s = 8 * o - i - 1, c = (1 << s) - 1, f = c >> 1,
      d = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = r ? 0 : o - 1, p = r ? 1 : -1,
      v = t < 0 || 0 === t && 1 / t < 0 ? 1 : 0;
    for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (l = isNaN(t) ? 1 : 0, a = c) : (a = Math.floor(Math.log(t) / Math.LN2), t * (u = Math.pow(2, -a)) < 1 && (a--, u *= 2), (t += a + f >= 1 ? d / u : d * Math.pow(2, 1 - f)) * u >= 2 && (a++, u /= 2), a + f >= c ? (l = 0, a = c) : a + f >= 1 ? (l = (t * u - 1) * Math.pow(2, i), a += f) : (l = t * Math.pow(2, f - 1) * Math.pow(2, i), a = 0)); i >= 8; e[n + h] = 255 & l, h += p, l /= 256, i -= 8);
    for (a = a << i | l, s += i; s > 0; e[n + h] = 255 & a, h += p, a /= 256, s -= 8);
    e[n + h - p] |= 128 * v
  }
}, function (e, t) {
  var n = {}.toString;
  e.exports = Array.isArray || function (e) {
    return "[object Array]" == n.call(e)
  }
}, function (e, t, n) {
  (function (t) {
    var n = {
      readVint: function (e, t) {
        t = t || 0;
        for (var n = 1; n <= 8 && !(e[t] >= Math.pow(2, 8 - n)); n++);
        if (n > 8) throw new Error("Unrepresentable length: " + n + " " + e.toString("hex", t, t + n));
        if (t + n > e.length) return null;
        for (var r = e[t] & (1 << 8 - n) - 1, i = 1; i < n; i++) {
          if (7 === i && r >= Math.pow(2, 45) && e[t + 7] > 0) return { length: n, value: -1 };
          r *= Math.pow(2, 8), r += e[t + i]
        }
        return { length: n, value: r }
      }, writeVint: function (e) {
        if (e < 0 || e > Math.pow(2, 53)) throw new Error("Unrepresentable value: " + e);
        for (var n = 1; n <= 8 && !(e < Math.pow(2, 7 * n) - 1); n++);
        for (var r = new t(n), i = 1; i <= n; i++) {
          var o = 255 & e;
          r[n - i] = o, e -= o, e /= Math.pow(2, 8)
        }
        return r[0] = r[0] | 1 << 8 - n, r
      }
    };
    e.exports = n
  }).call(this, n(10).Buffer)
}, function (e, t, n) {
  var r = n(32);
  e.exports = function (e) {
    var t = {}, n = new r(e);
    t.trackNumber = n.nextUIntV(), t.timecode = n.nextInt16BE();
    var i = n.nextUInt8();
    t.invisible = !!(8 & i), t.keyframe = !!(128 & i), t.discardable = !!(1 & i);
    var o = (6 & i) >> 1;
    return t.frames = function (e, t) {
      if (!t) return [e.nextBuffer()];
      var n, r, i = [], o = e.nextUInt8() + 1;
      if (2 === t) {
        if (e.length % o != 0) throw new Error("Fixed-Size Lacing Error");
        for (r = e.length / o, n = 0; n < o; n++) i.push(e.nextBuffer(r));
        return i
      }
      var a = [];
      if (1 === t) for (n = 0; n < o - 1; n++) {
        var l;
        r = 0;
        do {
          r += l = e.nextUInt8()
        } while (255 === l);
        a.push(r)
      } else if (3 === t) for (r = e.nextUIntV(), a.push(r), n = 1; n < o - 1; n++) r += e.nextIntV(), a.push(r);
      for (n = 0; n < o - 1; n++) i.push(e.nextBuffer(a[n]));
      return i.push(e.nextBuffer()), i
    }(n, o), t
  }
}, function (e, t, n) {
  var r = n(33);

  function i(e) {
    this.buffer = e, this.offset = 0
  }

  i.prototype.nextInt16BE = function () {
    var e = this.buffer.readInt16BE(this.offset);
    return this.offset += 2, e
  }, i.prototype.nextUInt8 = function () {
    var e = this.buffer.readUInt8(this.offset);
    return this.offset += 1, e
  }, i.prototype.nextUIntV = function () {
    var e = r(this.buffer, this.offset);
    return this.offset += e.length, e.value
  }, i.prototype.nextIntV = function () {
    var e = r(this.buffer, this.offset, !0);
    return this.offset += e.length, e.value
  }, i.prototype.nextBuffer = function (e) {
    var t = e ? this.buffer.slice(this.offset, this.offset + e) : this.buffer.slice(this.offset);
    return this.offset += e || this.length, t
  }, Object.defineProperty(i.prototype, "length", {
    get: function () {
      return this.buffer.length - this.offset
    }
  }), e.exports = i
}, function (e, t) {
  e.exports = function (e, t, n) {
    t = t || 0;
    for (var r = 1; r <= 8 && !(e[t] >= Math.pow(2, 8 - r)); r++);
    if (r > 8) throw new Error("Unrepresentable length: " + r + " " + e.toString("hex", t, t + r));
    if (t + r > e.length) return null;
    var i, o = e[t] & (1 << 8 - r) - 1;
    for (i = 1; i < r; i++) {
      if (7 === i && o >= Math.pow(2, 45) && e[t + 7] > 0) return { length: r, value: -1 };
      o *= Math.pow(2, 8), o += e[t + i]
    }
    return n && (o -= Math.pow(2, 7 * r - 1) - 1), { length: r, value: o }
  }
}, function (e, t, n) {
  "use strict";
  var r, i = this && this.fe || (r = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (e, t) {
    e.__proto__ = t
  } || function (e, t) {
    for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
  }, function (e, t) {
    function n() {
      this.constructor = e
    }

    r(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n)
  });
  Object.defineProperty(t, "u", { value: !0 });
  var o = n(35), a = n(3), l = function (e) {
    function t() {
      var t = e.call(this) || this;
      return t.logGroup = "", t.hasLoggingStarted = !1, t.metadataloaded = !1, t.chunks = [], t.stack = [], t.segmentOffset = 0, t.last2SimpleBlockVideoTrackTimecode = [0, 0], t.last2SimpleBlockAudioTrackTimecode = [0, 0], t.lastClusterTimecode = 0, t.lastClusterPosition = 0, t.timecodeScale = 1e6, t.metadataSize = 0, t.metadatas = [], t.cues = [], t.firstVideoBlockRead = !1, t.firstAudioBlockRead = !1, t.currentTrack = {
        TrackNumber: -1,
        TrackType: -1,
        DefaultDuration: null,
        CodecDelay: null
      }, t.trackTypes = [], t.trackDefaultDuration = [], t.trackCodecDelay = [], t.trackInfo = { type: "nothing" }, t.ended = !1, t.logging = !1, t.use_duration_every_simpleblock = !1, t.use_webp = !1, t.use_segment_info = !0, t.drop_default_duration = !0, t
    }

    return i(t, e), t.prototype.stop = function () {
      for (this.ended = !0, this.emit_segment_info(); this.stack.length;) this.stack.pop(), this.logging && console.groupEnd();
      this.logging && this.hasLoggingStarted && this.logGroup && console.groupEnd()
    }, t.prototype.emit_segment_info = function () {
      var e = this.chunks;
      if (this.chunks = [], this.metadataloaded) {
        if (!this.use_segment_info) return;
        var t = this.lastClusterTimecode, n = this.duration, r = this.timecodeScale;
        this.emit("cluster", { timecode: t, data: e }), this.emit("duration", { timecodeScale: r, duration: n })
      } else {
        this.metadataloaded = !0, this.metadatas = e;
        var i = this.trackTypes.indexOf(1), o = this.trackTypes.indexOf(2);
        if (this.trackInfo = i >= 0 && o >= 0 ? { type: "both", trackNumber: i } : i >= 0 ? {
          type: "video",
          trackNumber: i
        } : o >= 0 ? { type: "audio", trackNumber: o } : { type: "nothing" }, !this.use_segment_info) return;
        this.emit("metadata", { data: e, metadataSize: this.metadataSize })
      }
    }, t.prototype.read = function (e) {
      var t = this, n = !1;
      if (!this.ended) {
        if ("m" === e.type) if (e.isEnd) this.stack.pop(); else {
          var r = this.stack[this.stack.length - 1];
          if (null != r && r.level >= e.level) {
            this.stack.pop(), this.logging && console.groupEnd(), r.dataEnd = e.dataEnd, r.dataSize = e.dataEnd - r.dataStart, r.unknownSize = !1;
            var i = Object.assign({}, r, { name: r.name, type: r.type, isEnd: !0 });
            this.chunks.push(i)
          }
          this.stack.push(e)
        }
        if ("m" === e.type && "Segment" == e.name) 0 != this.segmentOffset && console.warn("Multiple segments detected!"), this.segmentOffset = e.dataStart, this.emit("segment_offset", this.segmentOffset); else if ("b" === e.type && "SimpleBlock" === e.name) {
          var o = a.ebmlBlock(e.data), l = o.timecode, u = o.trackNumber, s = o.frames;
          if (1 === this.trackTypes[u]) {
            if (!this.firstVideoBlockRead && (this.firstVideoBlockRead = !0, "both" === this.trackInfo.type || "video" === this.trackInfo.type)) {
              var c = this.lastClusterTimecode + l;
              this.cues.push({
                CueTrack: u,
                CueClusterPosition: this.lastClusterPosition,
                CueTime: c
              }), this.emit("cue_info", {
                CueTrack: u,
                CueClusterPosition: this.lastClusterPosition,
                CueTime: this.lastClusterTimecode
              }), this.emit("cue", {
                CueTrack: u,
                CueClusterPosition: this.lastClusterPosition,
                CueTime: c
              })
            }
            this.last2SimpleBlockVideoTrackTimecode = [this.last2SimpleBlockVideoTrackTimecode[1], l]
          } else if (2 === this.trackTypes[u]) {
            if (!this.firstAudioBlockRead && (this.firstAudioBlockRead = !0, "audio" === this.trackInfo.type)) {
              c = this.lastClusterTimecode + l;
              this.cues.push({
                CueTrack: u,
                CueClusterPosition: this.lastClusterPosition,
                CueTime: c
              }), this.emit("cue_info", {
                CueTrack: u,
                CueClusterPosition: this.lastClusterPosition,
                CueTime: this.lastClusterTimecode
              }), this.emit("cue", {
                CueTrack: u,
                CueClusterPosition: this.lastClusterPosition,
                CueTime: c
              })
            }
            this.last2SimpleBlockAudioTrackTimecode = [this.last2SimpleBlockAudioTrackTimecode[1], l]
          }
          this.use_duration_every_simpleblock && this.emit("duration", {
            timecodeScale: this.timecodeScale,
            duration: this.duration
          }), this.use_webp && s.forEach((function (e) {
            if ("9d012a" === e.slice(3, 6).toString("hex")) {
              var n = a.VP8BitStreamToRiffWebPBuffer(e), r = new Blob([n], { type: "image/webp" }),
                i = t.duration;
              t.emit("webp", { currentTime: i, webp: r })
            }
          }))
        } else "m" === e.type && "Cluster" === e.name && !1 === e.isEnd ? (this.firstVideoBlockRead = !1, this.firstAudioBlockRead = !1, this.emit_segment_info(), this.emit("cluster_ptr", e.tagStart), this.lastClusterPosition = e.tagStart) : "u" === e.type && "Timecode" === e.name ? this.lastClusterTimecode = e.value : "u" === e.type && "TimecodeScale" === e.name ? this.timecodeScale = e.value : "m" === e.type && "TrackEntry" === e.name ? e.isEnd ? (this.trackTypes[this.currentTrack.TrackNumber] = this.currentTrack.TrackType, this.trackDefaultDuration[this.currentTrack.TrackNumber] = this.currentTrack.DefaultDuration, this.trackCodecDelay[this.currentTrack.TrackNumber] = this.currentTrack.CodecDelay) : this.currentTrack = {
          TrackNumber: -1,
          TrackType: -1,
          DefaultDuration: null,
          CodecDelay: null
        } : "u" === e.type && "TrackType" === e.name ? this.currentTrack.TrackType = e.value : "u" === e.type && "TrackNumber" === e.name ? this.currentTrack.TrackNumber = e.value : "u" === e.type && "CodecDelay" === e.name ? this.currentTrack.CodecDelay = e.value : "u" === e.type && "DefaultDuration" === e.name ? this.drop_default_duration ? (console.warn("DefaultDuration detected!, remove it"), n = !0) : this.currentTrack.DefaultDuration = e.value : "unknown" === e.name && console.warn(e);
        !this.metadataloaded && e.dataEnd > 0 && (this.metadataSize = e.dataEnd), n || this.chunks.push(e), this.logging && this.put(e)
      }
    }, Object.defineProperty(t.prototype, "duration", {
      get: function () {
        if ("nothing" === this.trackInfo.type) return console.warn("no video, no audio track"), 0;
        var e = 0, t = 0, n = 0, r = this.trackDefaultDuration[this.trackInfo.trackNumber];
        if ("number" == typeof r) e = r; else if ("both" === this.trackInfo.type) this.last2SimpleBlockAudioTrackTimecode[1] > this.last2SimpleBlockVideoTrackTimecode[1] ? (e = (this.last2SimpleBlockAudioTrackTimecode[1] - this.last2SimpleBlockAudioTrackTimecode[0]) * this.timecodeScale, "number" == typeof (i = this.trackCodecDelay[this.trackTypes.indexOf(2)]) && (t = i), n = this.last2SimpleBlockAudioTrackTimecode[1]) : (e = (this.last2SimpleBlockVideoTrackTimecode[1] - this.last2SimpleBlockVideoTrackTimecode[0]) * this.timecodeScale, "number" == typeof (i = this.trackCodecDelay[this.trackTypes.indexOf(1)]) && (t = i), n = this.last2SimpleBlockVideoTrackTimecode[1]); else if ("video" === this.trackInfo.type) {
          e = (this.last2SimpleBlockVideoTrackTimecode[1] - this.last2SimpleBlockVideoTrackTimecode[0]) * this.timecodeScale, "number" == typeof (i = this.trackCodecDelay[this.trackInfo.trackNumber]) && (t = i), n = this.last2SimpleBlockVideoTrackTimecode[1]
        } else if ("audio" === this.trackInfo.type) {
          var i;
          e = (this.last2SimpleBlockAudioTrackTimecode[1] - this.last2SimpleBlockAudioTrackTimecode[0]) * this.timecodeScale, "number" == typeof (i = this.trackCodecDelay[this.trackInfo.trackNumber]) && (t = i), n = this.last2SimpleBlockAudioTrackTimecode[1]
        }
        var o = ((this.lastClusterTimecode + n) * this.timecodeScale + e - t) / this.timecodeScale;
        return Math.floor(o)
      }, enumerable: !0, configurable: !0
    }), t.prototype.addListener = function (t, n) {
      return e.prototype.addListener.call(this, t, n)
    }, t.prototype.put = function (e) {
      this.hasLoggingStarted || (this.hasLoggingStarted = !0, this.logging && this.logGroup && console.groupCollapsed(this.logGroup)), "m" === e.type ? e.isEnd ? console.groupEnd() : console.group(e.name + ":" + e.tagStart) : "b" === e.type ? console.log(e.name, e.type) : console.log(e.name, e.tagStart, e.type, e.value)
    }, t
  }(o.EventEmitter);
  t.default = l
}, function (e, t, n) {
  "use strict";
  var r, i = "object" == typeof Reflect ? Reflect : null,
    o = i && "function" == typeof i.apply ? i.apply : function (e, t, n) {
      return Function.prototype.apply.call(e, t, n)
    };
  r = i && "function" == typeof i.ownKeys ? i.ownKeys : Object.getOwnPropertySymbols ? function (e) {
    return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))
  } : function (e) {
    return Object.getOwnPropertyNames(e)
  };
  var a = Number.isNaN || function (e) {
    return e != e
  };

  function l() {
    l.init.call(this)
  }

  e.exports = l, e.exports.once = function (e, t) {
    return new Promise((function (n, r) {
      function i() {
        void 0 !== o && e.removeListener("error", o), n([].slice.call(arguments))
      }

      var o;
      "error" !== t && (o = function (n) {
        e.removeListener(t, i), r(n)
      }, e.once("error", o)), e.once(t, i)
    }))
  }, l.EventEmitter = l, l.prototype.de = void 0, l.prototype.he = 0, l.prototype.pe = void 0;
  var u = 10;

  function s(e) {
    if ("function" != typeof e) throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof e)
  }

  function c(e) {
    return void 0 === e.pe ? l.defaultMaxListeners : e.pe
  }

  function f(e, t, n, r) {
    var i, o, a, l;
    if (s(n), void 0 === (o = e.de) ? (o = e.de = Object.create(null), e.he = 0) : (void 0 !== o.newListener && (e.emit("newListener", t, n.listener ? n.listener : n), o = e.de), a = o[t]), void 0 === a) a = o[t] = n, ++e.he; else if ("function" == typeof a ? a = o[t] = r ? [n, a] : [a, n] : r ? a.unshift(n) : a.push(n), (i = c(e)) > 0 && a.length > i && !a.warned) {
      a.warned = !0;
      var u = new Error("Possible EventEmitter memory leak detected. " + a.length + " " + String(t) + " listeners added. Use emitter.setMaxListeners() to increase limit");
      u.name = "MaxListenersExceededWarning", u.emitter = e, u.type = t, u.count = a.length, l = u, console && console.warn && console.warn(l)
    }
    return e
  }

  function d() {
    if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, 0 === arguments.length ? this.listener.call(this.target) : this.listener.apply(this.target, arguments)
  }

  function h(e, t, n) {
    var r = { fired: !1, wrapFn: void 0, target: e, type: t, listener: n }, i = d.bind(r);
    return i.listener = n, r.wrapFn = i, i
  }

  function p(e, t, n) {
    var r = e.de;
    if (void 0 === r) return [];
    var i = r[t];
    return void 0 === i ? [] : "function" == typeof i ? n ? [i.listener || i] : [i] : n ? function (e) {
      for (var t = new Array(e.length), n = 0; n < t.length; ++n) t[n] = e[n].listener || e[n];
      return t
    }(i) : m(i, i.length)
  }

  function v(e) {
    var t = this.de;
    if (void 0 !== t) {
      var n = t[e];
      if ("function" == typeof n) return 1;
      if (void 0 !== n) return n.length
    }
    return 0
  }

  function m(e, t) {
    for (var n = new Array(t), r = 0; r < t; ++r) n[r] = e[r];
    return n
  }

  Object.defineProperty(l, "defaultMaxListeners", {
    enumerable: !0, get: function () {
      return u
    }, set: function (e) {
      if ("number" != typeof e || e < 0 || a(e)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + e + ".");
      u = e
    }
  }), l.init = function () {
    void 0 !== this.de && this.de !== Object.getPrototypeOf(this).de || (this.de = Object.create(null), this.he = 0), this.pe = this.pe || void 0
  }, l.prototype.setMaxListeners = function (e) {
    if ("number" != typeof e || e < 0 || a(e)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + e + ".");
    return this.pe = e, this
  }, l.prototype.getMaxListeners = function () {
    return c(this)
  }, l.prototype.emit = function (e) {
    for (var t = [], n = 1; n < arguments.length; n++) t.push(arguments[n]);
    var r = "error" === e, i = this.de;
    if (void 0 !== i) r = r && void 0 === i.error; else if (!r) return !1;
    if (r) {
      var a;
      if (t.length > 0 && (a = t[0]), a instanceof Error) throw a;
      var l = new Error("Unhandled error." + (a ? " (" + a.message + ")" : ""));
      throw l.context = a, l
    }
    var u = i[e];
    if (void 0 === u) return !1;
    if ("function" == typeof u) o(u, this, t); else {
      var s = u.length, c = m(u, s);
      for (n = 0; n < s; ++n) o(c[n], this, t)
    }
    return !0
  }, l.prototype.addListener = function (e, t) {
    return f(this, e, t, !1)
  }, l.prototype.on = l.prototype.addListener, l.prototype.prependListener = function (e, t) {
    return f(this, e, t, !0)
  }, l.prototype.once = function (e, t) {
    return s(t), this.on(e, h(this, e, t)), this
  }, l.prototype.prependOnceListener = function (e, t) {
    return s(t), this.prependListener(e, h(this, e, t)), this
  }, l.prototype.removeListener = function (e, t) {
    var n, r, i, o, a;
    if (s(t), void 0 === (r = this.de)) return this;
    if (void 0 === (n = r[e])) return this;
    if (n === t || n.listener === t) 0 == --this.he ? this.de = Object.create(null) : (delete r[e], r.removeListener && this.emit("removeListener", e, n.listener || t)); else if ("function" != typeof n) {
      for (i = -1, o = n.length - 1; o >= 0; o--) if (n[o] === t || n[o].listener === t) {
        a = n[o].listener, i = o;
        break
      }
      if (i < 0) return this;
      0 === i ? n.shift() : function (e, t) {
        for (; t + 1 < e.length; t++) e[t] = e[t + 1];
        e.pop()
      }(n, i), 1 === n.length && (r[e] = n[0]), void 0 !== r.removeListener && this.emit("removeListener", e, a || t)
    }
    return this
  }, l.prototype.off = l.prototype.removeListener, l.prototype.removeAllListeners = function (e) {
    var t, n, r;
    if (void 0 === (n = this.de)) return this;
    if (void 0 === n.removeListener) return 0 === arguments.length ? (this.de = Object.create(null), this.he = 0) : void 0 !== n[e] && (0 == --this.he ? this.de = Object.create(null) : delete n[e]), this;
    if (0 === arguments.length) {
      var i, o = Object.keys(n);
      for (r = 0; r < o.length; ++r) "removeListener" !== (i = o[r]) && this.removeAllListeners(i);
      return this.removeAllListeners("removeListener"), this.de = Object.create(null), this.he = 0, this
    }
    if ("function" == typeof (t = n[e])) this.removeListener(e, t); else if (void 0 !== t) for (r = t.length - 1; r >= 0; r--) this.removeListener(e, t[r]);
    return this
  }, l.prototype.listeners = function (e) {
    return p(this, e, !0)
  }, l.prototype.rawListeners = function (e) {
    return p(this, e, !1)
  }, l.listenerCount = function (e, t) {
    return "function" == typeof e.listenerCount ? e.listenerCount(t) : v.call(e, t)
  }, l.prototype.listenerCount = v, l.prototype.eventNames = function () {
    return this.he > 0 ? r(this.de) : []
  }
}, function (e) {
  e.exports = JSON.parse('{"name":"ts-ebml","version":"2.0.2","description":"ebml decoder and encoder","scripts":{"setup":"npm install -g http-server;","init":"npm run update; npm run mkdir; npm run build","update":"npm run reset; npm update","reset":"rm -rf node_modules","mkdir":"mkdir lib dist 2>/dev/null","clean":"rm -rf lib/* dist/* test/*.js; mkdir -p dist","build":"npm run clean   && tsc    -p .; npm run browserify","start":"http-server . -s & tsc -w -p .& watchify lib/example_seekable.js -o test/example_seekable.js","stop":"killall -- node */tsc -w -p","browserify":"browserify lib/index.js --standalone EBML -o dist/EBML.js","watchify":"watchify lib/index.js --standalone EBML -o dist/EBMl.js -v","test":"tsc; espower lib/test.js > lib/test.tmp; mv -f lib/test.tmp lib/test.js; browserify lib/test.js -o test/test.js","example":"tsc; browserify lib/example_seekable.js -o test/example_seekable.js","examples":"tsc; for file in `find lib -name \'example_*.js\' -type f -printf \'%f\\\\n\'`; do browserify lib/$file -o test/$file; done","examples_bsd":"tsc; for file in `find lib -name \'example_*.js\' -type f -print`; do browserify lib/$(basename $file) -o test/$(basename $file); done","check":"tsc -w --noEmit -p ./","lint":"tslint -c ./tslint.json --project ./tsconfig.json --type-check","doc":"typedoc --mode modules --out doc --disableOutputCheck"},"repository":{"type":"git","url":"git+https://github.com/legokichi/ts-ebml.git"},"keywords":["ebml","webm","mkv","matrosika","webp"],"author":"legokichi duckscallion","license":"MIT","bugs":{"url":"https://github.com/legokichi/ts-ebml/issues"},"homepage":"https://github.com/legokichi/ts-ebml#readme","dependencies":{"buffer":"^5.0.7","commander":"^2.11.0","ebml":"^2.2.1","ebml-block":"^1.1.0","events":"^1.1.1","int64-buffer":"^0.1.9","matroska":"^2.2.3"},"devDependencies":{"@types/commander":"^2.9.1","@types/qunit":"^2.0.31","browserify":"^13.1.0","empower":"^1.2.3","espower-cli":"^1.1.0","power-assert":"^1.4.4","power-assert-formatter":"^1.4.1","qunit-tap":"^1.5.1","qunitjs":"^2.4.0","tslint":"^3.15.1","typedoc":"^0.5.3","typescript":"^2.4.2","watchify":"^3.7.0"},"bin":"./lib/cli.js","main":"./lib/index.js","typings":"./lib/index.d.ts"}')
}, function (e, t, n) {
  "use strict";
  n.r(t);
  var r = n(4),
    i = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,
    o = Object(r.a)((function (e) {
      return i.test(e) || 111 === e.charCodeAt(0) && 110 === e.charCodeAt(1) && e.charCodeAt(2) < 91
    }));
  t.default = o
}, function (e, t, n) {
  "use strict";
  var r = n(39);

  function i() {
  }

  function o() {
  }

  o.resetWarningCache = i, e.exports = function () {
    function e(e, t, n, i, o, a) {
      if (a !== r) {
        var l = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
        throw l.name = "Invariant Violation", l
      }
    }

    function t() {
      return e
    }

    e.isRequired = e;
    var n = {
      array: e,
      bool: e,
      func: e,
      number: e,
      object: e,
      string: e,
      symbol: e,
      any: e,
      arrayOf: t,
      element: e,
      elementType: e,
      instanceOf: t,
      node: e,
      objectOf: t,
      oneOf: t,
      oneOfType: t,
      shape: t,
      exact: t,
      checkPropTypes: o,
      resetWarningCache: i
    };
    return n.PropTypes = n, n
  }
}, function (e, t, n) {
  "use strict";
  e.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"
}, function (e, t) {
  e.exports = Array.isArray || function (e) {
    return "[object Array]" == Object.prototype.toString.call(e)
  }
}, function (e, t, n) {
  "use strict";
  e.exports = n(42)
}, function (e, t, n) {
  "use strict";
  var r = "function" == typeof Symbol && Symbol.for, i = r ? Symbol.for("react.element") : 60103,
    o = r ? Symbol.for("react.portal") : 60106, a = r ? Symbol.for("react.fragment") : 60107,
    l = r ? Symbol.for("react.strict_mode") : 60108, u = r ? Symbol.for("react.profiler") : 60114,
    s = r ? Symbol.for("react.provider") : 60109, c = r ? Symbol.for("react.context") : 60110,
    f = r ? Symbol.for("react.async_mode") : 60111, d = r ? Symbol.for("react.concurrent_mode") : 60111,
    h = r ? Symbol.for("react.forward_ref") : 60112, p = r ? Symbol.for("react.suspense") : 60113,
    v = r ? Symbol.for("react.suspense_list") : 60120, m = r ? Symbol.for("react.memo") : 60115,
    b = r ? Symbol.for("react.lazy") : 60116, g = r ? Symbol.for("react.block") : 60121,
    y = r ? Symbol.for("react.fundamental") : 60117, w = r ? Symbol.for("react.responder") : 60118,
    k = r ? Symbol.for("react.scope") : 60119;

  function x(e) {
    if ("object" == typeof e && null !== e) {
      var t = e.$$typeof;
      switch (t) {
        case i:
          switch (e = e.type) {
            case f:
            case d:
            case a:
            case u:
            case l:
            case p:
              return e;
            default:
              switch (e = e && e.$$typeof) {
                case c:
                case h:
                case b:
                case m:
                case s:
                  return e;
                default:
                  return t
              }
          }
        case o:
          return t
      }
    }
  }

  function C(e) {
    return x(e) === d
  }

  t.AsyncMode = f, t.ConcurrentMode = d, t.ContextConsumer = c, t.ContextProvider = s, t.Element = i, t.ForwardRef = h, t.Fragment = a, t.Lazy = b, t.Memo = m, t.Portal = o, t.Profiler = u, t.StrictMode = l, t.Suspense = p, t.isAsyncMode = function (e) {
    return C(e) || x(e) === f
  }, t.isConcurrentMode = C, t.isContextConsumer = function (e) {
    return x(e) === c
  }, t.isContextProvider = function (e) {
    return x(e) === s
  }, t.isElement = function (e) {
    return "object" == typeof e && null !== e && e.$$typeof === i
  }, t.isForwardRef = function (e) {
    return x(e) === h
  }, t.isFragment = function (e) {
    return x(e) === a
  }, t.isLazy = function (e) {
    return x(e) === b
  }, t.isMemo = function (e) {
    return x(e) === m
  }, t.isPortal = function (e) {
    return x(e) === o
  }, t.isProfiler = function (e) {
    return x(e) === u
  }, t.isStrictMode = function (e) {
    return x(e) === l
  }, t.isSuspense = function (e) {
    return x(e) === p
  }, t.isValidElementType = function (e) {
    return "string" == typeof e || "function" == typeof e || e === a || e === d || e === u || e === l || e === p || e === v || "object" == typeof e && null !== e && (e.$$typeof === b || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === h || e.$$typeof === y || e.$$typeof === w || e.$$typeof === k || e.$$typeof === g)
  }, t.typeOf = x
}, function (e, t, n) {
  "use strict";
  n.r(t);
  n(1);
  var r = n(0), i = n.n(r), o = n(17), a = n.n(o), l = n(2);
  n(6);

  function u() {
    return (u = Object.assign || function (e) {
      for (var t = 1; t < arguments.length; t++) {
        var n = arguments[t];
        for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r])
      }
      return e
    }).apply(this, arguments)
  }

  function s(e) {
    return "/" === e.charAt(0)
  }

  function c(e, t) {
    for (var n = t, r = n + 1, i = e.length; r < i; n += 1, r += 1) e[n] = e[r];
    e.pop()
  }

  var f = function (e, t) {
    void 0 === t && (t = "");
    var n, r = e && e.split("/") || [], i = t && t.split("/") || [], o = e && s(e), a = t && s(t), l = o || a;
    if (e && s(e) ? i = r : r.length && (i.pop(), i = i.concat(r)), !i.length) return "/";
    if (i.length) {
      var u = i[i.length - 1];
      n = "." === u || ".." === u || "" === u
    } else n = !1;
    for (var f = 0, d = i.length; d >= 0; d--) {
      var h = i[d];
      "." === h ? c(i, d) : ".." === h ? (c(i, d), f++) : f && (c(i, d), f--)
    }
    if (!l) for (; f--; f) i.unshift("..");
    !l || "" === i[0] || i[0] && s(i[0]) || i.unshift("");
    var p = i.join("/");
    return n && "/" !== p.substr(-1) && (p += "/"), p
  };
  var d = "Invariant failed";
  var h = function (e, t) {
    if (!e) throw new Error(d)
  };

  function p(e) {
    return "/" === e.charAt(0) ? e : "/" + e
  }

  function v(e) {
    return "/" === e.charAt(0) ? e.substr(1) : e
  }

  function m(e, t) {
    return function (e, t) {
      return 0 === e.toLowerCase().indexOf(t.toLowerCase()) && -1 !== "/?#".indexOf(e.charAt(t.length))
    }(e, t) ? e.substr(t.length) : e
  }

  function b(e) {
    return "/" === e.charAt(e.length - 1) ? e.slice(0, -1) : e
  }

  function g(e) {
    var t = e.pathname, n = e.search, r = e.hash, i = t || "/";
    return n && "?" !== n && (i += "?" === n.charAt(0) ? n : "?" + n), r && "#" !== r && (i += "#" === r.charAt(0) ? r : "#" + r), i
  }

  function y(e, t, n, r) {
    var i;
    "string" == typeof e ? (i = function (e) {
      var t = e || "/", n = "", r = "", i = t.indexOf("#");
      -1 !== i && (r = t.substr(i), t = t.substr(0, i));
      var o = t.indexOf("?");
      return -1 !== o && (n = t.substr(o), t = t.substr(0, o)), {
        pathname: t,
        search: "?" === n ? "" : n,
        hash: "#" === r ? "" : r
      }
    }(e)).state = t : (void 0 === (i = u({}, e)).pathname && (i.pathname = ""), i.search ? "?" !== i.search.charAt(0) && (i.search = "?" + i.search) : i.search = "", i.hash ? "#" !== i.hash.charAt(0) && (i.hash = "#" + i.hash) : i.hash = "", void 0 !== t && void 0 === i.state && (i.state = t));
    try {
      i.pathname = decodeURI(i.pathname)
    } catch (e) {
      throw e instanceof URIError ? new URIError('Pathname "' + i.pathname + '" could not be decoded. This is likely caused by an invalid percent-encoding.') : e
    }
    return n && (i.key = n), r ? i.pathname ? "/" !== i.pathname.charAt(0) && (i.pathname = f(i.pathname, r.pathname)) : i.pathname = r.pathname : i.pathname || (i.pathname = "/"), i
  }

  function w() {
    var e = null;
    var t = [];
    return {
      setPrompt: function (t) {
        return e = t, function () {
          e === t && (e = null)
        }
      }, confirmTransitionTo: function (t, n, r, i) {
        if (null != e) {
          var o = "function" == typeof e ? e(t, n) : e;
          "string" == typeof o ? "function" == typeof r ? r(o, i) : i(!0) : i(!1 !== o)
        } else i(!0)
      }, appendListener: function (e) {
        var n = !0;

        function r() {
          n && e.apply(void 0, arguments)
        }

        return t.push(r), function () {
          n = !1, t = t.filter((function (e) {
            return e !== r
          }))
        }
      }, notifyListeners: function () {
        for (var e = arguments.length, n = new Array(e), r = 0; r < e; r++) n[r] = arguments[r];
        t.forEach((function (e) {
          return e.apply(void 0, n)
        }))
      }
    }
  }

  var k = !("undefined" == typeof window || !window.document || !window.document.createElement);

  function x(e, t) {
    t(window.confirm(e))
  }

  var C = "popstate", S = "hashchange";

  function E() {
    try {
      return window.history.state || {}
    } catch (e) {
      return {}
    }
  }

  function T(e) {
    void 0 === e && (e = {}), k || h(!1);
    var t, n = window.history,
      r = (-1 === (t = window.navigator.userAgent).indexOf("Android 2.") && -1 === t.indexOf("Android 4.0") || -1 === t.indexOf("Mobile Safari") || -1 !== t.indexOf("Chrome") || -1 !== t.indexOf("Windows Phone")) && window.history && "pushState" in window.history,
      i = !(-1 === window.navigator.userAgent.indexOf("Trident")), o = e, a = o.forceRefresh,
      l = void 0 !== a && a, s = o.getUserConfirmation, c = void 0 === s ? x : s, f = o.keyLength,
      d = void 0 === f ? 6 : f, v = e.basename ? b(p(e.basename)) : "";

    function T(e) {
      var t = e || {}, n = t.key, r = t.state, i = window.location, o = i.pathname + i.search + i.hash;
      return v && (o = m(o, v)), y(o, r, n)
    }

    function M() {
      return Math.random().toString(36).substr(2, d)
    }

    var O = w();

    function j(e) {
      u(U, e), U.length = n.length, O.notifyListeners(U.location, U.action)
    }

    function D(e) {
      (function (e) {
        return void 0 === e.state && -1 === navigator.userAgent.indexOf("CriOS")
      })(e) || I(T(e.state))
    }

    function L() {
      I(T(E()))
    }

    var A = !1;

    function I(e) {
      if (A) A = !1, j(); else {
        O.confirmTransitionTo(e, "POP", c, (function (t) {
          t ? j({ action: "POP", location: e }) : function (e) {
            var t = U.location, n = P.indexOf(t.key);
            -1 === n && (n = 0);
            var r = P.indexOf(e.key);
            -1 === r && (r = 0);
            var i = n - r;
            i && (A = !0, R(i))
          }(e)
        }))
      }
    }

    var F = T(E()), P = [F.key];

    function B(e) {
      return v + g(e)
    }

    function R(e) {
      n.go(e)
    }

    var z = 0;

    function _(e) {
      1 === (z += e) && 1 === e ? (window.addEventListener(C, D), i && window.addEventListener(S, L)) : 0 === z && (window.removeEventListener(C, D), i && window.removeEventListener(S, L))
    }

    var N = !1;
    var U = {
      length: n.length, action: "POP", location: F, createHref: B, push: function (e, t) {
        var i = "PUSH", o = y(e, t, M(), U.location);
        O.confirmTransitionTo(o, i, c, (function (e) {
          if (e) {
            var t = B(o), a = o.key, u = o.state;
            if (r) if (n.pushState({ key: a, state: u }, null, t), l) window.location.href = t; else {
              var s = P.indexOf(U.location.key), c = P.slice(0, s + 1);
              c.push(o.key), P = c, j({ action: i, location: o })
            } else window.location.href = t
          }
        }))
      }, replace: function (e, t) {
        var i = "REPLACE", o = y(e, t, M(), U.location);
        O.confirmTransitionTo(o, i, c, (function (e) {
          if (e) {
            var t = B(o), a = o.key, u = o.state;
            if (r) if (n.replaceState({ key: a, state: u }, null, t), l) window.location.replace(t); else {
              var s = P.indexOf(U.location.key);
              -1 !== s && (P[s] = o.key), j({ action: i, location: o })
            } else window.location.replace(t)
          }
        }))
      }, go: R, goBack: function () {
        R(-1)
      }, goForward: function () {
        R(1)
      }, block: function (e) {
        void 0 === e && (e = !1);
        var t = O.setPrompt(e);
        return N || (_(1), N = !0), function () {
          return N && (N = !1, _(-1)), t()
        }
      }, listen: function (e) {
        var t = O.appendListener(e);
        return _(1), function () {
          _(-1), t()
        }
      }
    };
    return U
  }

  var M = "hashchange", O = {
    hashbang: {
      encodePath: function (e) {
        return "!" === e.charAt(0) ? e : "!/" + v(e)
      }, decodePath: function (e) {
        return "!" === e.charAt(0) ? e.substr(1) : e
      }
    }, noslash: { encodePath: v, decodePath: p }, slash: { encodePath: p, decodePath: p }
  };

  function j(e) {
    var t = e.indexOf("#");
    return -1 === t ? e : e.slice(0, t)
  }

  function D() {
    var e = window.location.href, t = e.indexOf("#");
    return -1 === t ? "" : e.substring(t + 1)
  }

  function L(e) {
    window.location.replace(j(window.location.href) + "#" + e)
  }

  function A(e) {
    void 0 === e && (e = {}), k || h(!1);
    var t = window.history, n = (window.navigator.userAgent.indexOf("Firefox"), e), r = n.getUserConfirmation,
      i = void 0 === r ? x : r, o = n.hashType, a = void 0 === o ? "slash" : o,
      l = e.basename ? b(p(e.basename)) : "", s = O[a], c = s.encodePath, f = s.decodePath;

    function d() {
      var e = f(D());
      return l && (e = m(e, l)), y(e)
    }

    var v = w();

    function C(e) {
      u(N, e), N.length = t.length, v.notifyListeners(N.location, N.action)
    }

    var S = !1, E = null;

    function T() {
      var e, t, n = D(), r = c(n);
      if (n !== r) L(r); else {
        var o = d(), a = N.location;
        if (!S && (t = o, (e = a).pathname === t.pathname && e.search === t.search && e.hash === t.hash)) return;
        if (E === g(o)) return;
        E = null, function (e) {
          if (S) S = !1, C(); else {
            var t = "POP";
            v.confirmTransitionTo(e, t, i, (function (n) {
              n ? C({ action: t, location: e }) : function (e) {
                var t = N.location, n = P.lastIndexOf(g(t));
                -1 === n && (n = 0);
                var r = P.lastIndexOf(g(e));
                -1 === r && (r = 0);
                var i = n - r;
                i && (S = !0, B(i))
              }(e)
            }))
          }
        }(o)
      }
    }

    var A = D(), I = c(A);
    A !== I && L(I);
    var F = d(), P = [g(F)];

    function B(e) {
      t.go(e)
    }

    var R = 0;

    function z(e) {
      1 === (R += e) && 1 === e ? window.addEventListener(M, T) : 0 === R && window.removeEventListener(M, T)
    }

    var _ = !1;
    var N = {
      length: t.length, action: "POP", location: F, createHref: function (e) {
        var t = document.querySelector("base"), n = "";
        return t && t.getAttribute("href") && (n = j(window.location.href)), n + "#" + c(l + g(e))
      }, push: function (e, t) {
        var n = "PUSH", r = y(e, void 0, void 0, N.location);
        v.confirmTransitionTo(r, n, i, (function (e) {
          if (e) {
            var t = g(r), i = c(l + t);
            if (D() !== i) {
              E = t, function (e) {
                window.location.hash = e
              }(i);
              var o = P.lastIndexOf(g(N.location)), a = P.slice(0, o + 1);
              a.push(t), P = a, C({ action: n, location: r })
            } else C()
          }
        }))
      }, replace: function (e, t) {
        var n = "REPLACE", r = y(e, void 0, void 0, N.location);
        v.confirmTransitionTo(r, n, i, (function (e) {
          if (e) {
            var t = g(r), i = c(l + t);
            D() !== i && (E = t, L(i));
            var o = P.indexOf(g(N.location));
            -1 !== o && (P[o] = t), C({ action: n, location: r })
          }
        }))
      }, go: B, goBack: function () {
        B(-1)
      }, goForward: function () {
        B(1)
      }, block: function (e) {
        void 0 === e && (e = !1);
        var t = v.setPrompt(e);
        return _ || (z(1), _ = !0), function () {
          return _ && (_ = !1, z(-1)), t()
        }
      }, listen: function (e) {
        var t = v.appendListener(e);
        return z(1), function () {
          z(-1), t()
        }
      }
    };
    return N
  }

  function I(e, t, n) {
    return Math.min(Math.max(e, t), n)
  }

  function F(e) {
    void 0 === e && (e = {});
    var t = e, n = t.getUserConfirmation, r = t.initialEntries, i = void 0 === r ? ["/"] : r, o = t.initialIndex,
      a = void 0 === o ? 0 : o, l = t.keyLength, s = void 0 === l ? 6 : l, c = w();

    function f(e) {
      u(b, e), b.length = b.entries.length, c.notifyListeners(b.location, b.action)
    }

    function d() {
      return Math.random().toString(36).substr(2, s)
    }

    var h = I(a, 0, i.length - 1), p = i.map((function (e) {
      return y(e, void 0, "string" == typeof e ? d() : e.key || d())
    })), v = g;

    function m(e) {
      var t = I(b.index + e, 0, b.entries.length - 1), r = b.entries[t];
      c.confirmTransitionTo(r, "POP", n, (function (e) {
        e ? f({ action: "POP", location: r, index: t }) : f()
      }))
    }

    var b = {
      length: p.length,
      action: "POP",
      location: p[h],
      index: h,
      entries: p,
      createHref: v,
      push: function (e, t) {
        var r = "PUSH", i = y(e, t, d(), b.location);
        c.confirmTransitionTo(i, r, n, (function (e) {
          if (e) {
            var t = b.index + 1, n = b.entries.slice(0);
            n.length > t ? n.splice(t, n.length - t, i) : n.push(i), f({
              action: r,
              location: i,
              index: t,
              entries: n
            })
          }
        }))
      },
      replace: function (e, t) {
        var r = "REPLACE", i = y(e, t, d(), b.location);
        c.confirmTransitionTo(i, r, n, (function (e) {
          e && (b.entries[b.index] = i, f({ action: r, location: i }))
        }))
      },
      go: m,
      goBack: function () {
        m(-1)
      },
      goForward: function () {
        m(1)
      },
      canGo: function (e) {
        var t = b.index + e;
        return t >= 0 && t < b.entries.length
      },
      block: function (e) {
        return void 0 === e && (e = !1), c.setPrompt(e)
      },
      listen: function (e) {
        return c.appendListener(e)
      }
    };
    return b
  }

  var P = n(11), B = n(12), R = n.n(B);
  n(41);

  function z(e, t) {
    if (null == e) return {};
    var n, r, i = {}, o = Object.keys(e);
    for (r = 0; r < o.length; r++) n = o[r], t.indexOf(n) >= 0 || (i[n] = e[n]);
    return i
  }

  n(5);
  var _ = function (e) {
    var t = Object(P.a)();
    return t.displayName = e, t
  }("Router-History"), N = function (e) {
    var t = Object(P.a)();
    return t.displayName = e, t
  }("Router"), U = function (e) {
    function t(t) {
      var n;
      return (n = e.call(this, t) || this).state = { location: t.history.location }, n.ve = !1, n.me = null, t.staticContext || (n.unlisten = t.history.listen((function (e) {
        n.ve ? n.setState({ location: e }) : n.me = e
      }))), n
    }

    Object(l.a)(t, e), t.computeRootMatch = function (e) {
      return { path: "/", url: "/", params: {}, isExact: "/" === e }
    };
    var n = t.prototype;
    return n.componentDidMount = function () {
      this.ve = !0, this.me && this.setState({ location: this.me })
    }, n.componentWillUnmount = function () {
      this.unlisten && this.unlisten()
    }, n.render = function () {
      return i.a.createElement(N.Provider, {
        value: {
          history: this.props.history,
          location: this.state.location,
          match: t.computeRootMatch(this.state.location.pathname),
          staticContext: this.props.staticContext
        }
      }, i.a.createElement(_.Provider, { children: this.props.children || null, value: this.props.history }))
    }, t
  }(i.a.Component);
  i.a.Component;
  i.a.Component;
  var V = {}, H = 0;

  function $(e, t) {
    void 0 === t && (t = {}), ("string" == typeof t || Array.isArray(t)) && (t = { path: t });
    var n = t, r = n.path, i = n.exact, o = void 0 !== i && i, a = n.strict, l = void 0 !== a && a, u = n.sensitive,
      s = void 0 !== u && u;
    return [].concat(r).reduce((function (t, n) {
      if (!n && "" !== n) return null;
      if (t) return t;
      var r = function (e, t) {
        var n = "" + t.end + t.strict + t.sensitive, r = V[n] || (V[n] = {});
        if (r[e]) return r[e];
        var i = [], o = { regexp: R()(e, i, t), keys: i };
        return H < 1e4 && (r[e] = o, H++), o
      }(n, { end: o, strict: l, sensitive: s }), i = r.regexp, a = r.keys, u = i.exec(e);
      if (!u) return null;
      var c = u[0], f = u.slice(1), d = e === c;
      return o && !d ? null : {
        path: n,
        url: "/" === n && "" === c ? "/" : c,
        isExact: d,
        params: a.reduce((function (e, t, n) {
          return e[t.name] = f[n], e
        }), {})
      }
    }), null)
  }

  var W = function (e) {
    function t() {
      return e.apply(this, arguments) || this
    }

    return Object(l.a)(t, e), t.prototype.render = function () {
      var e = this;
      return i.a.createElement(N.Consumer, null, (function (t) {
        t || h(!1);
        var n = e.props.location || t.location, r = u({}, t, {
          location: n,
          match: e.props.computedMatch ? e.props.computedMatch : e.props.path ? $(n.pathname, e.props) : t.match
        }), o = e.props, a = o.children, l = o.component, s = o.render;
        return Array.isArray(a) && 0 === a.length && (a = null), i.a.createElement(N.Provider, { value: r }, r.match ? a ? "function" == typeof a ? a(r) : a : l ? i.a.createElement(l, r) : s ? s(r) : null : "function" == typeof a ? a(r) : null)
      }))
    }, t
  }(i.a.Component);

  function Z(e) {
    return "/" === e.charAt(0) ? e : "/" + e
  }

  function q(e, t) {
    if (!e) return t;
    var n = Z(e);
    return 0 !== t.pathname.indexOf(n) ? t : u({}, t, { pathname: t.pathname.substr(n.length) })
  }

  function X(e) {
    return "string" == typeof e ? e : g(e)
  }

  function Y(e) {
    return function () {
      h(!1)
    }
  }

  function G() {
  }

  i.a.Component;
  var K = function (e) {
    function t() {
      return e.apply(this, arguments) || this
    }

    return Object(l.a)(t, e), t.prototype.render = function () {
      var e = this;
      return i.a.createElement(N.Consumer, null, (function (t) {
        t || h(!1);
        var n, r, o = e.props.location || t.location;
        return i.a.Children.forEach(e.props.children, (function (e) {
          if (null == r && i.a.isValidElement(e)) {
            n = e;
            var a = e.props.path || e.props.from;
            r = a ? $(o.pathname, u({}, e.props, { path: a })) : t.match
          }
        })), r ? i.a.cloneElement(n, { location: o, computedMatch: r }) : null
      }))
    }, t
  }(i.a.Component);
  var J = i.a.useContext;

  function Q() {
    return J(N).location
  }

  i.a.Component;
  var ee = function (e) {
    function t() {
      for (var t, n = arguments.length, r = new Array(n), i = 0; i < n; i++) r[i] = arguments[i];
      return (t = e.call.apply(e, [this].concat(r)) || this).history = A(t.props), t
    }

    return Object(l.a)(t, e), t.prototype.render = function () {
      return i.a.createElement(U, { history: this.history, children: this.props.children })
    }, t
  }(i.a.Component);
  var te = function (e, t) {
    return "function" == typeof e ? e(t) : e
  }, ne = function (e, t) {
    return "string" == typeof e ? y(e, null, null, t) : e
  }, re = function (e) {
    return e
  }, ie = i.a.forwardRef;
  void 0 === ie && (ie = re);
  var oe = ie((function (e, t) {
    var n = e.innerRef, r = e.navigate, o = e.onClick, a = z(e, ["innerRef", "navigate", "onClick"]), l = a.target,
      s = u({}, a, {
        onClick: function (e) {
          try {
            o && o(e)
          } catch (t) {
            throw e.preventDefault(), t
          }
          e.defaultPrevented || 0 !== e.button || l && "_self" !== l || function (e) {
            return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)
          }(e) || (e.preventDefault(), r())
        }
      });
    return s.ref = re !== ie && t || n, i.a.createElement("a", s)
  }));
  var ae = ie((function (e, t) {
    var n = e.component, r = void 0 === n ? oe : n, o = e.replace, a = e.to, l = e.innerRef,
      s = z(e, ["component", "replace", "to", "innerRef"]);
    return i.a.createElement(N.Consumer, null, (function (e) {
      e || h(!1);
      var n = e.history, c = ne(te(a, e.location), e.location), f = c ? n.createHref(c) : "", d = u({}, s, {
        href: f, navigate: function () {
          var t = te(a, e.location);
          (o ? n.replace : n.push)(t)
        }
      });
      return re !== ie ? d.ref = t || l : d.innerRef = l, i.a.createElement(r, d)
    }))
  })), le = function (e) {
    return e
  }, ue = i.a.forwardRef;
  void 0 === ue && (ue = le);
  ue((function (e, t) {
    var n = e["aria-current"], r = void 0 === n ? "page" : n, o = e.activeClassName,
      a = void 0 === o ? "active" : o, l = e.activeStyle, s = e.className, c = e.exact, f = e.isActive,
      d = e.location, p = e.sensitive, v = e.strict, m = e.style, b = e.to, g = e.innerRef,
      y = z(e, ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive", "location", "sensitive", "strict", "style", "to", "innerRef"]);
    return i.a.createElement(N.Consumer, null, (function (e) {
      e || h(!1);
      var n = d || e.location, o = ne(te(b, n), n), w = o.pathname,
        k = w && w.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"),
        x = k ? $(n.pathname, { path: k, exact: c, sensitive: p, strict: v }) : null, C = !!(f ? f(x, n) : x),
        S = C ? function () {
          for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
          return t.filter((function (e) {
            return e
          })).join(" ")
        }(s, a) : s, E = C ? u({}, m, {}, l) : m,
        T = u({ "aria-current": C && r || null, className: S, style: E, to: o }, y);
      return le !== ue ? T.ref = t || g : T.innerRef = g, i.a.createElement(ae, T)
    }))
  }));
  var se = function () {
    function e(e) {
      var t = this;
      this.be = function (e) {
        var n;
        n = 0 === t.tags.length ? t.prepend ? t.container.firstChild : t.before : t.tags[t.tags.length - 1].nextSibling, t.container.insertBefore(e, n), t.tags.push(e)
      }, this.isSpeedy = void 0 === e.speedy || e.speedy, this.tags = [], this.ctr = 0, this.nonce = e.nonce, this.key = e.key, this.container = e.container, this.prepend = e.prepend, this.before = null
    }

    var t = e.prototype;
    return t.hydrate = function (e) {
      e.forEach(this.be)
    }, t.insert = function (e) {
      this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this.be(function (e) {
        var t = document.createElement("style");
        return t.setAttribute("data-emotion", e.key), void 0 !== e.nonce && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t
      }(this));
      var t = this.tags[this.tags.length - 1];
      if (this.isSpeedy) {
        var n = function (e) {
          if (e.sheet) return e.sheet;
          for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t]
        }(t);
        try {
          n.insertRule(e, n.cssRules.length)
        } catch (e) {
          0
        }
      } else t.appendChild(document.createTextNode(e));
      this.ctr++
    }, t.flush = function () {
      this.tags.forEach((function (e) {
        return e.parentNode.removeChild(e)
      })), this.tags = [], this.ctr = 0
    }, e
  }(), ce = "-ms-", fe = "-moz-", de = "-webkit-", he = "comm", pe = "rule", ve = "decl", me = Math.abs,
    be = String.fromCharCode;

  function ge(e) {
    return e.trim()
  }

  function ye(e, t, n) {
    return e.replace(t, n)
  }

  function we(e, t) {
    return 0 | e.charCodeAt(t)
  }

  function ke(e, t, n) {
    return e.slice(t, n)
  }

  function xe(e) {
    return e.length
  }

  function Ce(e) {
    return e.length
  }

  function Se(e, t) {
    return t.push(e), e
  }

  function Ee(e, t) {
    return e.map(t).join("")
  }

  var Te = 1, Me = 1, Oe = 0, je = 0, De = 0, Le = "";

  function Ae(e, t, n, r, i, o, a) {
    return {
      value: e,
      root: t,
      parent: n,
      type: r,
      props: i,
      children: o,
      line: Te,
      column: Me,
      length: a,
      return: ""
    }
  }

  function Ie(e, t, n) {
    return Ae(e, t.root, t.parent, n, t.props, t.children, 0)
  }

  function Fe() {
    return De = je < Oe ? we(Le, je++) : 0, Me++, 10 === De && (Me = 1, Te++), De
  }

  function Pe() {
    return we(Le, je)
  }

  function Be() {
    return je
  }

  function Re(e, t) {
    return ke(Le, e, t)
  }

  function ze(e) {
    switch (e) {
      case 0:
      case 9:
      case 10:
      case 13:
      case 32:
        return 5;
      case 33:
      case 43:
      case 44:
      case 47:
      case 62:
      case 64:
      case 126:
      case 59:
      case 123:
      case 125:
        return 4;
      case 58:
        return 3;
      case 34:
      case 39:
      case 40:
      case 91:
        return 2;
      case 41:
      case 93:
        return 1
    }
    return 0
  }

  function _e(e) {
    return Te = Me = 1, Oe = xe(Le = e), je = 0, []
  }

  function Ne(e) {
    return Le = "", e
  }

  function Ue(e) {
    return ge(Re(je - 1, He(91 === e ? e + 2 : 40 === e ? e + 1 : e)))
  }

  function Ve(e) {
    for (; (De = Pe()) && De < 33;) Fe();
    return ze(e) > 2 || ze(De) > 3 ? "" : " "
  }

  function He(e) {
    for (; Fe();) switch (De) {
      case e:
        return je;
      case 34:
      case 39:
        return He(34 === e || 39 === e ? e : De);
      case 40:
        41 === e && He(e);
        break;
      case 92:
        Fe()
    }
    return je
  }

  function $e(e, t) {
    for (; Fe() && e + De !== 57 && (e + De !== 84 || 47 !== Pe()););
    return "/*" + Re(t, je - 1) + "*" + be(47 === e ? e : Fe())
  }

  function We(e) {
    for (; !ze(Pe());) Fe();
    return Re(e, je)
  }

  function Ze(e) {
    return Ne(qe("", null, null, null, [""], e = _e(e), 0, [0], e))
  }

  function qe(e, t, n, r, i, o, a, l, u) {
    for (var s = 0, c = 0, f = a, d = 0, h = 0, p = 0, v = 1, m = 1, b = 1, g = 0, y = "", w = i, k = o, x = r, C = y; m;) switch (p = g, g = Fe()) {
      case 34:
      case 39:
      case 91:
      case 40:
        C += Ue(g);
        break;
      case 9:
      case 10:
      case 13:
      case 32:
        C += Ve(p);
        break;
      case 47:
        switch (Pe()) {
          case 42:
          case 47:
            Se(Ye($e(Fe(), Be()), t, n), u);
            break;
          default:
            C += "/"
        }
        break;
      case 123 * v:
        l[s++] = xe(C) * b;
      case 125 * v:
      case 59:
      case 0:
        switch (g) {
          case 0:
          case 125:
            m = 0;
          case 59 + c:
            h > 0 && Se(h > 32 ? Ge(C + ";", r, n, f - 1) : Ge(ye(C, " ", "") + ";", r, n, f - 2), u);
            break;
          case 59:
            C += ";";
          default:
            if (Se(x = Xe(C, t, n, s, c, i, l, y, w = [], k = [], f), o), 123 === g) if (0 === c) qe(C, t, x, x, w, o, f, l, k); else switch (d) {
              case 100:
              case 109:
              case 115:
                qe(e, x, x, r && Se(Xe(e, x, x, 0, 0, i, l, y, i, w = [], f), k), i, k, f, l, r ? w : k);
                break;
              default:
                qe(C, x, x, x, [""], k, f, l, k)
            }
        }
        s = c = h = 0, v = b = 1, y = C = "", f = a;
        break;
      case 58:
        f = 1 + xe(C), h = p;
      default:
        switch (C += be(g), g * v) {
          case 38:
            b = c > 0 ? 1 : (C += "\f", -1);
            break;
          case 44:
            l[s++] = (xe(C) - 1) * b, b = 1;
            break;
          case 64:
            45 === Pe() && (C += Ue(Fe())), d = Pe(), c = xe(y = C += We(Be())), g++;
            break;
          case 45:
            45 === p && 2 == xe(C) && (v = 0)
        }
    }
    return o
  }

  function Xe(e, t, n, r, i, o, a, l, u, s, c) {
    for (var f = i - 1, d = 0 === i ? o : [""], h = Ce(d), p = 0, v = 0, m = 0; p < r; ++p) for (var b = 0, g = ke(e, f + 1, f = me(v = a[p])), y = e; b < h; ++b) (y = ge(v > 0 ? d[b] + " " + g : ye(g, /&\f/g, d[b]))) && (u[m++] = y);
    return Ae(e, t, n, 0 === i ? pe : l, u, s, c)
  }

  function Ye(e, t, n) {
    return Ae(e, t, n, he, be(De), ke(e, 2, -2), 0)
  }

  function Ge(e, t, n, r) {
    return Ae(e, t, n, ve, ke(e, 0, r), ke(e, r + 1, -1), r)
  }

  function Ke(e, t) {
    switch ((((t << 2 ^ we(n = e, 0)) << 2 ^ we(n, 1)) << 2 ^ we(n, 2)) << 2 ^ we(n, 3)) {
      case 5737:
      case 4201:
      case 3177:
      case 3433:
      case 1641:
      case 4457:
      case 2921:
      case 5572:
      case 6356:
      case 5844:
      case 3191:
      case 6645:
      case 3005:
      case 6391:
      case 5879:
      case 5623:
      case 6135:
      case 4599:
      case 4855:
      case 4215:
      case 6389:
      case 5109:
      case 5365:
      case 5621:
      case 3829:
        return de + e + e;
      case 5349:
      case 4246:
      case 4810:
      case 6968:
      case 2756:
        return de + e + fe + e + ce + e + e;
      case 6828:
      case 4268:
        return de + e + ce + e + e;
      case 6165:
        return de + e + ce + "flex-" + e + e;
      case 5187:
        return de + e + ye(e, /(\w+).+(:[^]+)/, "-webkit-box-$1$2-ms-flex-$1$2") + e;
      case 5443:
        return de + e + ce + "flex-item-" + ye(e, /flex-|-self/, "") + e;
      case 4675:
        return de + e + ce + "flex-line-pack" + ye(e, /align-content|flex-|-self/, "") + e;
      case 5548:
        return de + e + ce + ye(e, "shrink", "negative") + e;
      case 5292:
        return de + e + ce + ye(e, "basis", "preferred-size") + e;
      case 6060:
        return "-webkit-box-" + ye(e, "-grow", "") + de + e + ce + ye(e, "grow", "positive") + e;
      case 4554:
        return de + ye(e, /([^-])(transform)/g, "$1-webkit-$2") + e;
      case 6187:
        return ye(ye(ye(e, /(zoom-|grab)/, "-webkit-$1"), /(image-set)/, "-webkit-$1"), e, "") + e;
      case 5495:
      case 3959:
        return ye(e, /(image-set\([^]*)/, "-webkit-$1$`$1");
      case 4968:
        return ye(ye(e, /(.+:)(flex-)?(.*)/, "-webkit-box-pack:$3-ms-flex-pack:$3"), /s.+-b[^;]+/, "justify") + de + e + e;
      case 4095:
      case 3583:
      case 4068:
      case 2532:
        return ye(e, /(.+)-inline(.+)/, "-webkit-$1$2") + e;
      case 8116:
      case 7059:
      case 5753:
      case 5535:
      case 5445:
      case 5701:
      case 4933:
      case 4677:
      case 5533:
      case 5789:
      case 5021:
      case 4765:
        if (xe(e) - 1 - t > 6) switch (we(e, t + 1)) {
          case 109:
            return ye(e, /(.+:)(.+)-([^]+)/, "$1-webkit-$2-$3$1-moz-$2-$3") + e;
          case 102:
            return ye(e, /(.+:)(.+)-([^]+)/, "$1-webkit-$2-$3$1-moz-$3") + e;
          case 115:
            return Ke(ye(e, "stretch", "fill-available"), t) + e
        }
        break;
      case 4949:
        if (115 !== we(e, t + 1)) break;
      case 6444:
        switch (we(e, xe(e) - 3 - (~function (e, t) {
          return e.indexOf(t)
        }(e, "!important") && 10))) {
          case 107:
          case 111:
            return ye(e, e, de + e) + e;
          case 101:
            return ye(e, /(.+:)([^;!]+)(;|!.+)?/, "$1-webkit-" + (45 === we(e, 14) ? "inline-" : "") + "box$3$1" + "-webkit-$2$3$1" + "-ms-$2box$3") + e
        }
        break;
      case 5936:
        switch (we(e, t + 11)) {
          case 114:
            return de + e + ce + ye(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
          case 108:
            return de + e + ce + ye(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
          case 45:
            return de + e + ce + ye(e, /[svh]\w+-[tblr]{2}/, "lr") + e
        }
        return de + e + ce + e + e
    }
    var n;
    return e
  }

  function Je(e, t) {
    for (var n = "", r = Ce(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
    return n
  }

  function Qe(e, t, n, r) {
    switch (e.type) {
      case "@import":
      case ve:
        return e.return = e.return || e.value;
      case he:
        return "";
      case pe:
        e.value = e.props.join(",")
    }
    return xe(n = Je(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""
  }

  var et = function (e) {
    var t = new WeakMap;
    return function (n) {
      if (t.has(n)) return t.get(n);
      var r = e(n);
      return t.set(n, r), r
    }
  }, tt = n(4), nt = function (e, t) {
    return Ne(function (e, t) {
      var n = -1, r = 44;
      do {
        switch (ze(r)) {
          case 0:
            38 === r && 12 === Pe() && (t[n] = 1), e[n] += We(je - 1);
            break;
          case 2:
            e[n] += Ue(r);
            break;
          case 4:
            if (44 === r) {
              e[++n] = 58 === Pe() ? "&\f" : "", t[n] = e[n].length;
              break
            }
          default:
            e[n] += be(r)
        }
      } while (r = Fe());
      return e
    }(_e(e), t))
  }, rt = new WeakMap, it = function (e) {
    if ("rule" === e.type && e.parent && e.length) {
      for (var t = e.value, n = e.parent, r = e.column === n.column && e.line === n.line; "rule" !== n.type;) n = n.parent;
      if ((1 !== e.props.length || 58 === t.charCodeAt(0) || rt.get(n)) && !r) {
        rt.set(e, !0);
        for (var i = [], o = nt(t, i), a = n.props, l = 0, u = 0; l < o.length; l++) for (var s = 0; s < a.length; s++, u++) e.props[u] = i[l] ? o[l].replace(/&\f/g, a[s]) : a[s] + " " + o[l]
      }
    }
  }, ot = function (e) {
    if ("decl" === e.type) {
      var t = e.value;
      108 === t.charCodeAt(0) && 98 === t.charCodeAt(2) && (e.return = "", e.value = "")
    }
  }, at = [function (e, t, n, r) {
    if (!e.return) switch (e.type) {
      case ve:
        e.return = Ke(e.value, e.length);
        break;
      case "@keyframes":
        return Je([Ie(ye(e.value, "@", "@-webkit-"), e, "")], r);
      case pe:
        if (e.length) return Ee(e.props, (function (t) {
          switch ((n = /(::plac\w+|:read-\w+)/.exec(n = t)) ? n[0] : n) {
            case ":read-only":
            case ":read-write":
              return Je([Ie(ye(t, /:(read-\w+)/, ":-moz-$1"), e, "")], r);
            case "::placeholder":
              return Je([Ie(ye(t, /:(plac\w+)/, ":-webkit-input-$1"), e, ""), Ie(ye(t, /:(plac\w+)/, ":-moz-$1"), e, ""), Ie(ye(t, /:(plac\w+)/, "-ms-input-$1"), e, "")], r)
          }
          var n;
          return ""
        }))
    }
  }], lt = function (e) {
    var t = e.key;
    if ("css" === t) {
      var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
      Array.prototype.forEach.call(n, (function (e) {
        document.head.appendChild(e), e.setAttribute("data-s", "")
      }))
    }
    var r = e.stylisPlugins || at;
    var i, o, a = {}, l = [];
    i = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion]"), (function (e) {
      var n = e.getAttribute("data-emotion").split(" ");
      if (n[0] === t) {
        for (var r = 1; r < n.length; r++) a[n[r]] = !0;
        l.push(e)
      }
    }));
    var u, s, c = [Qe, (s = function (e) {
      u.insert(e)
    }, function (e) {
      e.root || (e = e.return) && s(e)
    })], f = function (e) {
      var t = Ce(e);
      return function (n, r, i, o) {
        for (var a = "", l = 0; l < t; l++) a += e[l](n, r, i, o) || "";
        return a
      }
    }([it, ot].concat(r, c));
    o = function (e, t, n, r) {
      u = n, Je(Ze(e ? e + "{" + t.styles + "}" : t.styles), f), r && (d.inserted[t.name] = !0)
    };
    var d = {
      key: t,
      sheet: new se({ key: t, container: i, nonce: e.nonce, speedy: e.speedy, prepend: e.prepend }),
      nonce: e.nonce,
      inserted: a,
      registered: {},
      insert: o
    };
    return d.sheet.hydrate(l), d
  };

  function ut(e, t, n) {
    var r = "";
    return n.split(" ").forEach((function (n) {
      void 0 !== e[n] ? t.push(e[n] + ";") : r += n + " "
    })), r
  }

  var st = function (e, t, n) {
    var r = e.key + "-" + t.name;
    if (!1 === n && void 0 === e.registered[r] && (e.registered[r] = t.styles), void 0 === e.inserted[t.name]) {
      var i = t;
      do {
        e.insert(t === i ? "." + r : "", i, e.sheet, !0);
        i = i.next
      } while (void 0 !== i)
    }
  };
  var ct = function (e) {
    for (var t, n = 0, r = 0, i = e.length; i >= 4; ++r, i -= 4) t = 1540483477 * (65535 & (t = 255 & e.charCodeAt(r) | (255 & e.charCodeAt(++r)) << 8 | (255 & e.charCodeAt(++r)) << 16 | (255 & e.charCodeAt(++r)) << 24)) + (59797 * (t >>> 16) << 16), n = 1540483477 * (65535 & (t ^= t >>> 24)) + (59797 * (t >>> 16) << 16) ^ 1540483477 * (65535 & n) + (59797 * (n >>> 16) << 16);
    switch (i) {
      case 3:
        n ^= (255 & e.charCodeAt(r + 2)) << 16;
      case 2:
        n ^= (255 & e.charCodeAt(r + 1)) << 8;
      case 1:
        n = 1540483477 * (65535 & (n ^= 255 & e.charCodeAt(r))) + (59797 * (n >>> 16) << 16)
    }
    return (((n = 1540483477 * (65535 & (n ^= n >>> 13)) + (59797 * (n >>> 16) << 16)) ^ n >>> 15) >>> 0).toString(36)
  }, ft = {
    animationIterationCount: 1,
    borderImageOutset: 1,
    borderImageSlice: 1,
    borderImageWidth: 1,
    boxFlex: 1,
    boxFlexGroup: 1,
    boxOrdinalGroup: 1,
    columnCount: 1,
    columns: 1,
    flex: 1,
    flexGrow: 1,
    flexPositive: 1,
    flexShrink: 1,
    flexNegative: 1,
    flexOrder: 1,
    gridRow: 1,
    gridRowEnd: 1,
    gridRowSpan: 1,
    gridRowStart: 1,
    gridColumn: 1,
    gridColumnEnd: 1,
    gridColumnSpan: 1,
    gridColumnStart: 1,
    msGridRow: 1,
    msGridRowSpan: 1,
    msGridColumn: 1,
    msGridColumnSpan: 1,
    fontWeight: 1,
    lineHeight: 1,
    opacity: 1,
    order: 1,
    orphans: 1,
    tabSize: 1,
    widows: 1,
    zIndex: 1,
    zoom: 1,
    WebkitLineClamp: 1,
    fillOpacity: 1,
    floodOpacity: 1,
    stopOpacity: 1,
    strokeDasharray: 1,
    strokeDashoffset: 1,
    strokeMiterlimit: 1,
    strokeOpacity: 1,
    strokeWidth: 1
  }, dt = /[A-Z]|^ms/g, ht = /_EMO_([^_]+?)_([^]*?)_EMO_/g, pt = function (e) {
    return 45 === e.charCodeAt(1)
  }, vt = function (e) {
    return null != e && "boolean" != typeof e
  }, mt = Object(tt.a)((function (e) {
    return pt(e) ? e : e.replace(dt, "-$&").toLowerCase()
  })), bt = function (e, t) {
    switch (e) {
      case "animation":
      case "animationName":
        if ("string" == typeof t) return t.replace(ht, (function (e, t, n) {
          return yt = { name: t, styles: n, next: yt }, t
        }))
    }
    return 1 === ft[e] || pt(e) || "number" != typeof t || 0 === t ? t : t + "px"
  };

  function gt(e, t, n) {
    if (null == n) return "";
    if (void 0 !== n.ge) return n;
    switch (typeof n) {
      case "boolean":
        return "";
      case "object":
        if (1 === n.anim) return yt = { name: n.name, styles: n.styles, next: yt }, n.name;
        if (void 0 !== n.styles) {
          var r = n.next;
          if (void 0 !== r) for (; void 0 !== r;) yt = { name: r.name, styles: r.styles, next: yt }, r = r.next;
          return n.styles + ";"
        }
        return function (e, t, n) {
          var r = "";
          if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += gt(e, t, n[i]) + ";"; else for (var o in n) {
            var a = n[o];
            if ("object" != typeof a) null != t && void 0 !== t[a] ? r += o + "{" + t[a] + "}" : vt(a) && (r += mt(o) + ":" + bt(o, a) + ";"); else if (!Array.isArray(a) || "string" != typeof a[0] || null != t && void 0 !== t[a[0]]) {
              var l = gt(e, t, a);
              switch (o) {
                case "animation":
                case "animationName":
                  r += mt(o) + ":" + l + ";";
                  break;
                default:
                  r += o + "{" + l + "}"
              }
            } else for (var u = 0; u < a.length; u++) vt(a[u]) && (r += mt(o) + ":" + bt(o, a[u]) + ";")
          }
          return r
        }(e, t, n);
      case "function":
        if (void 0 !== e) {
          var i = yt, o = n(e);
          return yt = i, gt(e, t, o)
        }
        break;
      case "string":
    }
    if (null == t) return n;
    var a = t[n];
    return void 0 !== a ? a : n
  }

  var yt, wt = /label:\s*([^\s;\n{]+)\s*;/g;
  var kt = function (e, t, n) {
    if (1 === e.length && "object" == typeof e[0] && null !== e[0] && void 0 !== e[0].styles) return e[0];
    var r = !0, i = "";
    yt = void 0;
    var o = e[0];
    null == o || void 0 === o.raw ? (r = !1, i += gt(n, t, o)) : i += o[0];
    for (var a = 1; a < e.length; a++) i += gt(n, t, e[a]), r && (i += o[a]);
    wt.lastIndex = 0;
    for (var l, u = ""; null !== (l = wt.exec(i));) u += "-" + l[1];
    return { name: ct(i) + u, styles: i, next: yt }
  }, xt = Object.prototype.hasOwnProperty, Ct = Object(r.createContext)(
    // and we could have a special build just for that
    "undefined" != typeof HTMLElement ? lt({ key: "css" }) : null), St = (Ct.Provider, function (e) {
      return Object(r.forwardRef)((function (t, n) {
        var i = Object(r.useContext)(Ct);
        return e(t, i, n)
      }))
    }), Et = Object(r.createContext)({}), Tt = et((function (e) {
      return et((function (t) {
        return function (e, t) {
          return "function" == typeof t ? t(e) : u({}, e, {}, t)
        }(e, t)
      }))
    }));
  var Mt = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Ot = function (e, t) {
    var n = {};
    for (var r in t) xt.call(t, r) && (n[r] = t[r]);
    return n[Mt] = e, n
  }, jt = St((function (e, t, n) {
    var i = e.css;
    "string" == typeof i && void 0 !== t.registered[i] && (i = t.registered[i]);
    var o = e[Mt], a = [i], l = "";
    "string" == typeof e.className ? l = ut(t.registered, a, e.className) : null != e.className && (l = e.className + " ");
    var u = kt(a, void 0, "function" == typeof i || Array.isArray(i) ? Object(r.useContext)(Et) : void 0);
    st(t, u, "string" == typeof o);
    l += t.key + "-" + u.name;
    var s = {};
    for (var c in e) xt.call(e, c) && "css" !== c && c !== Mt && (s[c] = e[c]);
    return s.ref = n, s.className = l, Object(r.createElement)(o, s)
  }));
  n(23);
  var Dt = function (e, t) {
    var n = arguments;
    if (null == t || !xt.call(t, "css")) return r.createElement.apply(void 0, n);
    var i = n.length, o = new Array(i);
    o[0] = jt, o[1] = Ot(e, t);
    for (var a = 2; a < i; a++) o[a] = n[a];
    return r.createElement.apply(null, o)
  }, Lt = St((function (e, t) {
    var n = e.styles,
      i = kt([n], void 0, "function" == typeof n || Array.isArray(n) ? Object(r.useContext)(Et) : void 0),
      o = Object(r.useRef)();
    return Object(r.useLayoutEffect)((function () {
      var e = t.key + "-global",
        n = new se({ key: e, nonce: t.sheet.nonce, container: t.sheet.container, speedy: t.sheet.isSpeedy }),
        r = document.querySelector('style[data-emotion="' + e + " " + i.name + '"]');
      return t.sheet.tags.length && (n.before = t.sheet.tags[0]), null !== r && n.hydrate([r]), o.current = n, function () {
        n.flush()
      }
    }), [t]), Object(r.useLayoutEffect)((function () {
      void 0 !== i.next && st(t, i.next, !0);
      var e = o.current;
      if (e.tags.length) {
        var n = e.tags[e.tags.length - 1].nextElementSibling;
        e.before = n, e.flush()
      }
      t.insert("", i, e, !1)
    }), [t, i.name]), null
  }));

  function At() {
    for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
    return kt(t)
  }

  function It() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "16",
      viewBox: "0 0 16 16"
    }, Dt("path", {
      fill: "none",
      stroke: "#FFF",
      strokeWidth: "2",
      d: "M5,14 L0,14 L0,0 L5,0 L5,14 Z M14,14 L9,14 L9,0 L14,0 L14,14 Z",
      transform: "translate(1 1)"
    }))
  }

  function Ft() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "13",
      height: "18",
      viewBox: "0 0 13 18"
    }, Dt("polygon", {
      fill: "none",
      stroke: "#FFF",
      strokeWidth: "2",
      points: "10.243 8 0 .909 0 15.091",
      transform: "translate(1 1)"
    }))
  }

  function Pt() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "16",
      viewBox: "0 0 16 16"
    }, Dt("path", {
      fill: "none",
      stroke: "#FFF",
      strokeWidth: "2",
      d: "M7,0 C10.866,0 14,3.13401 14,7 C14,10.866 10.866,14 7,14 C3.13401,14 0,10.866 0,7 C0,3.13401 3.13401,0 7,0 Z",
      transform: "translate(1 1)"
    }))
  }

  function Bt() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "18",
      height: "18",
      viewBox: "0 0 18 18"
    }, Dt("g", {
      fill: "none",
      fillRule: "evenodd",
      stroke: "#FFF",
      strokeWidth: "2",
      transform: "translate(1 1)"
    }, Dt("path", { d: "M0,15 L0,1 C0,0.44772 0.44772,0 1,0 L12.5,0 L16,3.5 L16,15 C16,15.5523 15.5523,16 15,16 L1,16 C0.44772,16 0,15.5523 0,15 Z" }), Dt("path", { d: "M10,11 C10,12.1046 9.1046,13 8,13 C6.8954,13 6,12.1046 6,11 C6,9.8954 6.8954,9 8,9 C9.1046,9 10,9.8954 10,11 Z" })))
  }

  function Rt() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "16",
      viewBox: "0 0 16 16"
    }, Dt("polygon", {
      fill: "none",
      stroke: "#FFF",
      strokeWidth: "2",
      points: "14 14 0 14 0 0 14 0",
      transform: "translate(1 1)"
    }))
  }

  function zt() {
    return Dt("svg", {
      width: "16",
      height: "16",
      viewBox: "0 0 16 16",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg",
      className: "trash"
    }, Dt("path", {
      d: "M3.5 3.5L4.125 13.5C4.15469 14.0778 4.575 14.5 5.125 14.5H10.875C11.4272 14.5 11.8397 14.0778 11.875 13.5L12.5 3.5",
      stroke: "#F34E55",
      strokeWidth: "1.5",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }), Dt("path", { d: "M2.5 3.5H13.5H2.5Z", fill: "#111827" }), Dt("path", {
      d: "M2.5 3.5H13.5",
      stroke: "#F34E55",
      strokeWidth: "1.5",
      strokeMiterlimit: "10",
      strokeLinecap: "round"
    }), Dt("path", {
      d: "M10.25 5.4999L10 12.4999M6 3.4999V2.2499C5.99971 2.15132 6.01891 2.05367 6.0565 1.96254C6.09409 1.87142 6.14932 1.78862 6.21903 1.71892C6.28873 1.64922 6.37152 1.59399 6.46265 1.5564C6.55377 1.51881 6.65143 1.49961 6.75 1.4999H9.25C9.34857 1.49961 9.44623 1.51881 9.53735 1.5564C9.62848 1.59399 9.71127 1.64922 9.78097 1.71892C9.85068 1.78862 9.90591 1.87142 9.9435 1.96254C9.98109 2.05367 10.0003 2.15132 10 2.2499V3.4999H6ZM8 5.4999V12.4999V5.4999ZM5.75 5.4999L6 12.4999L5.75 5.4999Z",
      stroke: "#F34E55",
      strokeWidth: "1.5",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }))
  }

  function _t(e) {
    return (_t = Object.setPrototypeOf ? Object.getPrototypeOf : function (e) {
      return e.__proto__ || Object.getPrototypeOf(e)
    })(e)
  }

  function Nt(e, t) {
    return (Nt = Object.setPrototypeOf || function (e, t) {
      return e.__proto__ = t, e
    })(e, t)
  }

  function Ut() {
    if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
    if (Reflect.construct.sham) return !1;
    if ("function" == typeof Proxy) return !0;
    try {
      return Date.prototype.toString.call(Reflect.construct(Date, [], (function () {
      }))), !0
    } catch (e) {
      return !1
    }
  }

  function Vt(e, t, n) {
    return (Vt = Ut() ? Reflect.construct : function (e, t, n) {
      var r = [null];
      r.push.apply(r, t);
      var i = new (Function.bind.apply(e, r));
      return n && Nt(i, n.prototype), i
    }).apply(null, arguments)
  }

  function Ht(e) {
    var t = "function" == typeof Map ? new Map : void 0;
    return (Ht = function (e) {
      if (null === e || (n = e, -1 === Function.toString.call(n).indexOf("[native code]"))) return e;
      var n;
      if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function");
      if (void 0 !== t) {
        if (t.has(e)) return t.get(e);
        t.set(e, r)
      }

      function r() {
        return Vt(e, arguments, _t(this).constructor)
      }

      return r.prototype = Object.create(e.prototype, {
        constructor: {
          value: r,
          enumerable: !1,
          writable: !0,
          configurable: !0
        }
      }), Nt(r, e)
    })(e)
  }

  var $t = function (e) {
    function t(t) {
      return function (e) {
        if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
        return e
      }(e.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + t + " for more information.") || this)
    }

    return Object(l.a)(t, e), t
  }(Ht(Error));

  function Wt(e) {
    return Math.round(255 * e)
  }

  function Zt(e, t, n) {
    return Wt(e) + "," + Wt(t) + "," + Wt(n)
  }

  function qt(e, t, n, r) {
    if (void 0 === r && (r = Zt), 0 === t) return r(n, n, n);
    var i = (e % 360 + 360) % 360 / 60, o = (1 - Math.abs(2 * n - 1)) * t, a = o * (1 - Math.abs(i % 2 - 1)), l = 0,
      u = 0, s = 0;
    i >= 0 && i < 1 ? (l = o, u = a) : i >= 1 && i < 2 ? (l = a, u = o) : i >= 2 && i < 3 ? (u = o, s = a) : i >= 3 && i < 4 ? (u = a, s = o) : i >= 4 && i < 5 ? (l = a, s = o) : i >= 5 && i < 6 && (l = o, s = a);
    var c = n - o / 2;
    return r(l + c, u + c, s + c)
  }

  var Xt = {
    aliceblue: "f0f8ff",
    antiquewhite: "faebd7",
    aqua: "00ffff",
    aquamarine: "7fffd4",
    azure: "f0ffff",
    beige: "f5f5dc",
    bisque: "ffe4c4",
    black: "000",
    blanchedalmond: "ffebcd",
    blue: "0000ff",
    blueviolet: "8a2be2",
    brown: "a52a2a",
    burlywood: "deb887",
    cadetblue: "5f9ea0",
    chartreuse: "7fff00",
    chocolate: "d2691e",
    coral: "ff7f50",
    cornflowerblue: "6495ed",
    cornsilk: "fff8dc",
    crimson: "dc143c",
    cyan: "00ffff",
    darkblue: "00008b",
    darkcyan: "008b8b",
    darkgoldenrod: "b8860b",
    darkgray: "a9a9a9",
    darkgreen: "006400",
    darkgrey: "a9a9a9",
    darkkhaki: "bdb76b",
    darkmagenta: "8b008b",
    darkolivegreen: "556b2f",
    darkorange: "ff8c00",
    darkorchid: "9932cc",
    darkred: "8b0000",
    darksalmon: "e9967a",
    darkseagreen: "8fbc8f",
    darkslateblue: "483d8b",
    darkslategray: "2f4f4f",
    darkslategrey: "2f4f4f",
    darkturquoise: "00ced1",
    darkviolet: "9400d3",
    deeppink: "ff1493",
    deepskyblue: "00bfff",
    dimgray: "696969",
    dimgrey: "696969",
    dodgerblue: "1e90ff",
    firebrick: "b22222",
    floralwhite: "fffaf0",
    forestgreen: "228b22",
    fuchsia: "ff00ff",
    gainsboro: "dcdcdc",
    ghostwhite: "f8f8ff",
    gold: "ffd700",
    goldenrod: "daa520",
    gray: "808080",
    green: "008000",
    greenyellow: "adff2f",
    grey: "808080",
    honeydew: "f0fff0",
    hotpink: "ff69b4",
    indianred: "cd5c5c",
    indigo: "4b0082",
    ivory: "fffff0",
    khaki: "f0e68c",
    lavender: "e6e6fa",
    lavenderblush: "fff0f5",
    lawngreen: "7cfc00",
    lemonchiffon: "fffacd",
    lightblue: "add8e6",
    lightcoral: "f08080",
    lightcyan: "e0ffff",
    lightgoldenrodyellow: "fafad2",
    lightgray: "d3d3d3",
    lightgreen: "90ee90",
    lightgrey: "d3d3d3",
    lightpink: "ffb6c1",
    lightsalmon: "ffa07a",
    lightseagreen: "20b2aa",
    lightskyblue: "87cefa",
    lightslategray: "789",
    lightslategrey: "789",
    lightsteelblue: "b0c4de",
    lightyellow: "ffffe0",
    lime: "0f0",
    limegreen: "32cd32",
    linen: "faf0e6",
    magenta: "f0f",
    maroon: "800000",
    mediumaquamarine: "66cdaa",
    mediumblue: "0000cd",
    mediumorchid: "ba55d3",
    mediumpurple: "9370db",
    mediumseagreen: "3cb371",
    mediumslateblue: "7b68ee",
    mediumspringgreen: "00fa9a",
    mediumturquoise: "48d1cc",
    mediumvioletred: "c71585",
    midnightblue: "191970",
    mintcream: "f5fffa",
    mistyrose: "ffe4e1",
    moccasin: "ffe4b5",
    navajowhite: "ffdead",
    navy: "000080",
    oldlace: "fdf5e6",
    olive: "808000",
    olivedrab: "6b8e23",
    orange: "ffa500",
    orangered: "ff4500",
    orchid: "da70d6",
    palegoldenrod: "eee8aa",
    palegreen: "98fb98",
    paleturquoise: "afeeee",
    palevioletred: "db7093",
    papayawhip: "ffefd5",
    peachpuff: "ffdab9",
    peru: "cd853f",
    pink: "ffc0cb",
    plum: "dda0dd",
    powderblue: "b0e0e6",
    purple: "800080",
    rebeccapurple: "639",
    red: "f00",
    rosybrown: "bc8f8f",
    royalblue: "4169e1",
    saddlebrown: "8b4513",
    salmon: "fa8072",
    sandybrown: "f4a460",
    seagreen: "2e8b57",
    seashell: "fff5ee",
    sienna: "a0522d",
    silver: "c0c0c0",
    skyblue: "87ceeb",
    slateblue: "6a5acd",
    slategray: "708090",
    slategrey: "708090",
    snow: "fffafa",
    springgreen: "00ff7f",
    steelblue: "4682b4",
    tan: "d2b48c",
    teal: "008080",
    thistle: "d8bfd8",
    tomato: "ff6347",
    turquoise: "40e0d0",
    violet: "ee82ee",
    wheat: "f5deb3",
    white: "fff",
    whitesmoke: "f5f5f5",
    yellow: "ff0",
    yellowgreen: "9acd32"
  };
  var Yt = /^#[a-fA-F0-9]{6}$/, Gt = /^#[a-fA-F0-9]{8}$/, Kt = /^#[a-fA-F0-9]{3}$/, Jt = /^#[a-fA-F0-9]{4}$/,
    Qt = /^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,
    en = /^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,
    tn = /^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,
    nn = /^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;

  function rn(e) {
    if ("string" != typeof e) throw new $t(3);
    var t = function (e) {
      if ("string" != typeof e) return e;
      var t = e.toLowerCase();
      return Xt[t] ? "#" + Xt[t] : e
    }(e);
    if (t.match(Yt)) return {
      red: parseInt("" + t[1] + t[2], 16),
      green: parseInt("" + t[3] + t[4], 16),
      blue: parseInt("" + t[5] + t[6], 16)
    };
    if (t.match(Gt)) {
      var n = parseFloat((parseInt("" + t[7] + t[8], 16) / 255).toFixed(2));
      return {
        red: parseInt("" + t[1] + t[2], 16),
        green: parseInt("" + t[3] + t[4], 16),
        blue: parseInt("" + t[5] + t[6], 16),
        alpha: n
      }
    }
    if (t.match(Kt)) return {
      red: parseInt("" + t[1] + t[1], 16),
      green: parseInt("" + t[2] + t[2], 16),
      blue: parseInt("" + t[3] + t[3], 16)
    };
    if (t.match(Jt)) {
      var r = parseFloat((parseInt("" + t[4] + t[4], 16) / 255).toFixed(2));
      return {
        red: parseInt("" + t[1] + t[1], 16),
        green: parseInt("" + t[2] + t[2], 16),
        blue: parseInt("" + t[3] + t[3], 16),
        alpha: r
      }
    }
    var i = Qt.exec(t);
    if (i) return { red: parseInt("" + i[1], 10), green: parseInt("" + i[2], 10), blue: parseInt("" + i[3], 10) };
    var o = en.exec(t);
    if (o) return {
      red: parseInt("" + o[1], 10),
      green: parseInt("" + o[2], 10),
      blue: parseInt("" + o[3], 10),
      alpha: parseFloat("" + o[4])
    };
    var a = tn.exec(t);
    if (a) {
      var l = "rgb(" + qt(parseInt("" + a[1], 10), parseInt("" + a[2], 10) / 100, parseInt("" + a[3], 10) / 100) + ")",
        u = Qt.exec(l);
      if (!u) throw new $t(4, t, l);
      return { red: parseInt("" + u[1], 10), green: parseInt("" + u[2], 10), blue: parseInt("" + u[3], 10) }
    }
    var s = nn.exec(t);
    if (s) {
      var c = "rgb(" + qt(parseInt("" + s[1], 10), parseInt("" + s[2], 10) / 100, parseInt("" + s[3], 10) / 100) + ")",
        f = Qt.exec(c);
      if (!f) throw new $t(4, t, c);
      return {
        red: parseInt("" + f[1], 10),
        green: parseInt("" + f[2], 10),
        blue: parseInt("" + f[3], 10),
        alpha: parseFloat("" + s[4])
      }
    }
    throw new $t(5)
  }

  function on(e) {
    return function (e) {
      var t, n = e.red / 255, r = e.green / 255, i = e.blue / 255, o = Math.max(n, r, i), a = Math.min(n, r, i),
        l = (o + a) / 2;
      if (o === a) return void 0 !== e.alpha ? { hue: 0, saturation: 0, lightness: l, alpha: e.alpha } : {
        hue: 0,
        saturation: 0,
        lightness: l
      };
      var u = o - a, s = l > .5 ? u / (2 - o - a) : u / (o + a);
      switch (o) {
        case n:
          t = (r - i) / u + (r < i ? 6 : 0);
          break;
        case r:
          t = (i - n) / u + 2;
          break;
        default:
          t = (n - r) / u + 4
      }
      return t *= 60, void 0 !== e.alpha ? { hue: t, saturation: s, lightness: l, alpha: e.alpha } : {
        hue: t,
        saturation: s,
        lightness: l
      }
    }(rn(e))
  }

  var an = function (e) {
    return 7 === e.length && e[1] === e[2] && e[3] === e[4] && e[5] === e[6] ? "#" + e[1] + e[3] + e[5] : e
  };

  function ln(e) {
    var t = e.toString(16);
    return 1 === t.length ? "0" + t : t
  }

  function un(e) {
    return ln(Math.round(255 * e))
  }

  function sn(e, t, n) {
    return an("#" + un(e) + un(t) + un(n))
  }

  function cn(e, t, n) {
    return qt(e, t, n, sn)
  }

  function fn(e, t, n) {
    if ("number" == typeof e && "number" == typeof t && "number" == typeof n) return cn(e, t, n);
    if ("object" == typeof e && void 0 === t && void 0 === n) return cn(e.hue, e.saturation, e.lightness);
    throw new $t(1)
  }

  function dn(e, t, n, r) {
    if ("number" == typeof e && "number" == typeof t && "number" == typeof n && "number" == typeof r) return r >= 1 ? cn(e, t, n) : "rgba(" + qt(e, t, n) + "," + r + ")";
    if ("object" == typeof e && void 0 === t && void 0 === n && void 0 === r) return e.alpha >= 1 ? cn(e.hue, e.saturation, e.lightness) : "rgba(" + qt(e.hue, e.saturation, e.lightness) + "," + e.alpha + ")";
    throw new $t(2)
  }

  function hn(e, t, n) {
    if ("number" == typeof e && "number" == typeof t && "number" == typeof n) return an("#" + ln(e) + ln(t) + ln(n));
    if ("object" == typeof e && void 0 === t && void 0 === n) return an("#" + ln(e.red) + ln(e.green) + ln(e.blue));
    throw new $t(6)
  }

  function pn(e, t, n, r) {
    if ("string" == typeof e && "number" == typeof t) {
      var i = rn(e);
      return "rgba(" + i.red + "," + i.green + "," + i.blue + "," + t + ")"
    }
    if ("number" == typeof e && "number" == typeof t && "number" == typeof n && "number" == typeof r) return r >= 1 ? hn(e, t, n) : "rgba(" + e + "," + t + "," + n + "," + r + ")";
    if ("object" == typeof e && void 0 === t && void 0 === n && void 0 === r) return e.alpha >= 1 ? hn(e.red, e.green, e.blue) : "rgba(" + e.red + "," + e.green + "," + e.blue + "," + e.alpha + ")";
    throw new $t(7)
  }

  function vn(e) {
    if ("object" != typeof e) throw new $t(8);
    if (function (e) {
      return "number" == typeof e.red && "number" == typeof e.green && "number" == typeof e.blue && "number" == typeof e.alpha
    }(e)) return pn(e);
    if (function (e) {
      return "number" == typeof e.red && "number" == typeof e.green && "number" == typeof e.blue && ("number" != typeof e.alpha || void 0 === e.alpha)
    }(e)) return hn(e);
    if (function (e) {
      return "number" == typeof e.hue && "number" == typeof e.saturation && "number" == typeof e.lightness && "number" == typeof e.alpha
    }(e)) return dn(e);
    if (function (e) {
      return "number" == typeof e.hue && "number" == typeof e.saturation && "number" == typeof e.lightness && ("number" != typeof e.alpha || void 0 === e.alpha)
    }(e)) return fn(e);
    throw new $t(8)
  }

  function mn(e, t, n) {
    return function () {
      var r = n.concat(Array.prototype.slice.call(arguments));
      return r.length >= t ? e.apply(this, r) : mn(e, t, r)
    }
  }

  function bn(e) {
    return mn(e, e.length, [])
  }

  function gn(e, t, n) {
    return Math.max(e, Math.min(t, n))
  }

  function yn(e, t) {
    if ("transparent" === t) return t;
    var n = on(t);
    return vn(u({}, n, { lightness: gn(0, 1, n.lightness - parseFloat(e)) }))
  }

  var wn = bn(yn);

  function kn(e, t) {
    if ("transparent" === t) return t;
    var n = on(t);
    return vn(u({}, n, { lightness: gn(0, 1, n.lightness + parseFloat(e)) }))
  }

  var xn = bn(kn);
  const Cn = [0, 576, 768, 992, 1200, 1440, 1920], Sn = 0, En = 1, Tn = 2, Mn = 3, On = 4, jn = 5, Dn = 6;

  function Ln(e) {
    return `@media screen and (min-width: ${Cn[e]}px)`
  }

  var An = { name: "1wy3g6s", styles: "transform:translate3d(0, 0, 0) translateY(0);opacity:1;pointer-events:all" };

  function In({ children: e, onClick: t, color: n, icon: r }) {
    return Dt("button", {
      css: e => ((e, t) => At("appearance:none;cursor:pointer;border:none;font-size:", e.sizes.lead.size.mobile, ";font-weight:700;padding:20px;margin:0;width:100%;background:", e.colors.primary, ";color:", e.colors.light, ";& img,& svg{vertical-align:middle;transform:translateY(-2px);margin-right:10px;}", Ln(Mn), "{font-size:", e.sizes.lead.size.desktop, ";}@media (hover: hover){&:hover{background:", e.colors.secondary, ";color:", e.colors.light, ";}}", "white" === t && At("background:", e.colors.light, ";color:", e.colors.primary, ";@media (hover: hover){&:hover{background:", e.colors.secondary, ";color:", e.colors.light, ";}}", ""), " ", "red" === t && At("background:", e.colors.error, ";color:", e.colors.light, ";& .trash{& path{stroke:", e.colors.light, ";}}@media (hover: hover){&:hover{background:", wn(.2, e.colors.error), ";color:", e.colors.light, ";}}", ""), ";", ""))(e, n),
      onClick: t
    }, "record" === r && Dt(Pt, null), "stop" === r && Dt(Rt, null), "pause" === r && Dt(It, null), "save" === r && Dt(Bt, null), "play" === r && Dt(Ft, null), "trash" === r && Dt(zt, null), Dt("span", null, e))
  }

  function Fn({ children: e, visible: t }) {
    return Dt("div", { css: e => ((e, t) => At("position:fixed;bottom:0;left:0;width:100%;background:", e.colors.light, ";display:flex;transition:all 0.3s ease;transform:translate3d(0, 0, 0) translateY(40px);transition-delay:0.3s;opacity:0;pointer-events:none;", t && An, ";", ""))(e, t) }, e)
  }

  var Pn = { name: "10wmo1b", styles: "max-width:calc(100% - 40px)" };

  function Bn({ children: e, shrink: t, actions: n }) {
    return Dt("div", {
      css: e => ((e, t) => At("width:100%;border-bottom:solid 1px ", e.colors.grayLight, ";display:block;padding:15px 20px;margin:0 auto;text-align:left;color:", e.colors.dark, ";font-weight:400;font-size:", e.sizes.lead.size.desktop, ";border-top-left-radius:6px;border-top-right-radius:6px;background:", e.colors.light, ";position:relative;", Ln(En), "{text-align:center;}", t && Pn, " & svg{margin-right:10px;vertical-align:middle;transform:translateY(-2px);&.plus{margin:0 0 0 -10px;}& polygon[stroke]{stroke:", e.colors.primary, ";}}& .actions-wrapper{position:absolute;top:50%;transform:translateY(-50%);right:5px;&>*{margin:5px;}}", ""))(e, t),
      className: "title"
    }, e, n && Dt("div", { className: "actions-wrapper" }, n))
  }

  var Rn = { name: "1dly892", styles: "border-top-left-radius:6px;border-top-right-radius:6px" },
    zn = { name: "9tvmfo", styles: "transform:translate3d(0, 0, 0) translateX(-50%) translateY(0)" },
    _n = { name: "183n8js", styles: "max-height:1000px;opacity:1;transform:translate3d(0, 0, 0) translateY(0)" },
    Nn = { name: "3d3sh5", styles: "margin-bottom:-60px" };

  function Un({
    children: e,
    title: t,
    titleActions: n,
    visible: r,
    noPadding: i,
    shrinkTitle: o,
    removeBodyFixedSpace: a,
    fixed: l
  }) {
    return Dt("div", {
      css: e => ((e, t, n, r, i, o) => At("margin:auto;transition:all 0.3s ease;max-height:0;overflow:hidden;opacity:0;transform:translate3d(0, 0, 0) translateY(20px);", i && Nn, " ", t && _n, " ", o && At("position:fixed;top:", e.spacing.paddingTopBody.mobile, ";left:50%;transform:translate3d(0, 0, 0) translateX(-50%) translateY(20px);width:100%;max-width:", e.spacing.maxWidth, ";margin:auto;padding:0 ", e.spacing.marginContainer.mobile, ";padding:10px 20px;height:calc(100vh - 135px);overflow:hidden;", Ln(Mn), "{top:", e.spacing.paddingTopBody.desktop, ";padding:10px ", e.spacing.marginContainer.desktop, ";}", Ln(jn), "{max-width:calc(", e.spacing.maxWidth, " + 200px);}&:before{content:'';display:block;position:absolute;top:0;left:0;width:100%;height:100%;background:", e.colors.background, ";}", t && zn, ";", ""), " & .box{margin:10px auto;& .content{background:", e.colors.light, ";padding:20px;border-bottom-left-radius:6px;border-bottom-right-radius:6px;overflow:hidden;position:relative;", r && Rn, " ", n && At("padding:0;overflow:hidden;", Ln(Mn), "{padding:0;}", ""), " & img{display:flex;}}}", ""))(e, r, i, o, a, l)
    }, Dt("div", { className: "box" }, t && Dt(Bn, {
      shrink: o,
      actions: n
    }, t), Dt("main", { className: "content" }, e)))
  }

  function Vn() {
    return (Vn = Object.assign || function (e) {
      for (var t = 1; t < arguments.length; t++) {
        var n = arguments[t];
        for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r])
      }
      return e
    }).apply(this, arguments)
  }

  const Hn = {
    name: "1rhsryp",
    styles: "appearance:none;background:none;border:none;border-radius:0;cursor:pointer;padding:0;margin:0"
  }, $n = { name: "1cj4bpv", styles: "list-style:none;margin:0;padding:0;& li{padding:0;margin:0;}" },
    Wn = e => At("font-size:", e.sizes.button.size.mobile, ";line-height:", e.sizes.button.lineheight.mobile, ";font-weight:600;", Ln(Mn), "{font-size:", e.sizes.button.size.desktop, ";line-height:", e.sizes.button.lineheight.desktop, ";}", "");
  var Zn = { name: "uie81i", styles: "margin:0 5px 0 -3px" }, qn = { name: "1d3w5wq", styles: "width:100%" },
    Xn = { name: "10d8zjd", styles: "padding:7px 15px" };
  const Yn = (e, t, n, r, i, o, a) => At(Hn, ";display:inline-block;vertical-align:middle;font-weight:600;padding:15px;border-radius:6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;hyphens:auto;position:relative;", Ln(Mn), "{padding:15px 25px;", "small" === n && Xn, ";}", o && qn, " ", At("default" === n ? Wn(e) : (e => At("font-size:", e.sizes.buttonBig.size.mobile, ";line-height:", e.sizes.buttonBig.lineheight.mobile, ";font-weight:600;", Ln(Mn), "{font-size:", e.sizes.buttonBig.size.desktop, ";line-height:", e.sizes.buttonBig.lineheight.desktop, ";}", ""))(e), ";", ""), " ", "small" === n && At(Wn(e), ";padding:7px 10px 5px;& svg{transform:translateY(0);}", ""), " & svg{vertical-align:middle;", !a && Zn, ";}", "primary" === t && !r && At("background:", e.colors.primary, ";border:solid 2px ", e.colors.primary, ";color:", e.colors.light, ";box-shadow:0 0 0 0 ", e.colors.primaryLight, ";& svg{& path{stroke:", e.colors.light, ";}}@media (hover: hover){&:hover:not([disabled]){color:", e.colors.light, ";background:", e.colors.primaryDark, ";border-color:", e.colors.primaryDark, ";}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", e.colors.primaryLight, ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.primaryLight, ";}", ""), " ", "primary" === t && r && At("border:solid 2px ", e.colors.primary, ";color:", e.colors.primary, ";box-shadow:0 0 0 0 ", e.colors.primaryLight, ";@media (hover: hover){&:hover:not([disabled]){border:solid 2px ", e.colors.primaryDark, ";color:", e.colors.primaryDark, ";& svg{& path{stroke:", e.colors.primaryDark, ";}}}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", e.colors.primaryLight, ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.primaryLight, ";}", ""), " ", "secondary" === t && !r && At("background:", e.colors.secondary, ";border:solid 2px ", e.colors.secondary, ";color:", e.colors.light, ";box-shadow:0 0 0 0 ", e.colors.secondaryLight, ";& svg{& path{stroke:", e.colors.light, ";}}@media (hover: hover){&:hover:not([disabled]){color:", e.colors.light, ";background:", e.colors.secondaryDark, ";border-color:", e.colors.secondaryDark, ";}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", e.colors.secondaryLight, ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.secondaryLight, ";}", ""), " ", "secondary" === t && r && At("border:solid 2px ", e.colors.secondary, ";color:", e.colors.secondary, ";box-shadow:0 0 0 0 ", e.colors.secondaryLight, ";@media (hover: hover){&:hover:not([disabled]){border:solid 2px ", e.colors.secondaryDark, ";color:", e.colors.secondaryDark, ";}& svg{& path{stroke:", e.colors.secondaryDark, ";}}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", e.colors.secondaryLight, ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.secondaryLight, ";}", ""), " ", "tertiary" === t && !r && At("background:", e.colors.tertiary, ";border:solid 2px ", e.colors.tertiary, ";color:", e.colors.light, ";box-shadow:0 0 0 0 ", e.colors.tertiaryLight, ";& svg{& path{stroke:", e.colors.light, ";}}@media (hover: hover){&:hover:not([disabled]){color:", e.colors.light, ";background:", e.colors.tertiaryDark, ";border-color:", e.colors.tertiaryDark, ";}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", e.colors.tertiaryLight, ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.tertiaryLight, ";}", ""), " ", "tertiary" === t && r && At("border:solid 2px ", e.colors.tertiary, ";color:", e.colors.tertiary, ";box-shadow:0 0 0 0 ", e.colors.tertiaryLight, ";@media (hover: hover){&:hover:not([disabled]){border:solid 2px ", e.colors.tertiaryDark, ";color:", e.colors.tertiaryDark, ";& svg{& path{stroke:", e.colors.tertiaryDark, ";}}}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", e.colors.tertiaryLight, ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.tertiaryLight, ";}", ""), " ", i && !r && At("background:", e.colors.grayLight, ";border-color:", e.colors.grayLight, ";color:", e.colors.gray, ";cursor:not-allowed;", ""), " ", i && r && At("border:solid 2px ", e.colors.grayLight, ";color:", e.colors.gray, ";cursor:not-allowed;", ""), " ", i && At("& svg{& path{stroke:", e.colors.gray, ";}}", ""), ";", "");

  function Gn({
    className: e,
    children: t,
    variant: n = "primary",
    size: r = "default",
    frame: i,
    href: o,
    fullWidth: a = !0,
    external: l,
    onlyIcon: u,
    ...s
  }) {
    return o ? Dt("a", {
      className: e,
      css: e => Yn(e, n, r, i, s.disabled, a, u),
      href: o,
      target: l ? "_blank" : "_self"
    }, t) : Dt("button", Vn({ className: e, css: e => Yn(e, n, r, i, s.disabled, a, u) }, s), t)
  }

  const Kn = [{ id: "al", label: "Shqip" }, { id: "ar", label: "العربية" }, { id: "am", label: "አማርኛ" }, {
    id: "bg",
    label: "български"
  }, { id: "bn", label: "বাংলা" }, { id: "ca", label: "Català" }, { id: "cs", label: "Čeština" }, {
    id: "da",
    label: "Dansk"
  }, { id: "de", label: "Deutsch" }, { id: "el", label: "Ελληνικά" }, { id: "en", label: "English" }, {
    id: "es",
    label: "Español"
  }, { id: "et", label: "Eesti" }, { id: "fa", label: "فارسی" }, { id: "fi", label: "Suomi" }, {
    id: "fil",
    label: "Filipino"
  }, { id: "fr", label: "Français" }, { id: "gu", label: "ગુજરાતી" }, { id: "he", label: "עברית" }, {
    id: "hi",
    label: "हिन्दी"
  }, { id: "hr", label: "Hrvatski" }, { id: "hu", label: "Magyar" }, { id: "id", label: "Bahasa Indonesia" }, {
    id: "it",
    label: "Italiano"
  }, { id: "ja", label: "日本語" }, { id: "kn", label: "ಕನ್ನಡ" }, { id: "ko", label: "한국어" }, {
    id: "lt",
    label: "Lietuvių kalba"
  }, { id: "lv", label: "Latviešu valoda" }, { id: "ml", label: "മലയാളം" }, { id: "mr", label: "मराठी" }, {
    id: "ms",
    label: "بهاس ملايو"
  }, { id: "nl", label: "Nederlands" }, { id: "no", label: "Norsk" }, { id: "pl", label: "Polszczyzna" }, {
    id: "pt",
    label: "Português"
  }, { id: "ro", label: "Română" }, { id: "ru", label: "Русский" }, { id: "sk", label: "Slovenčina" }, {
    id: "sl",
    label: "Slovenščina"
  }, { id: "sr", label: "Српски" }, { id: "sv", label: "Svenska" }, { id: "sw", label: "Kiswahili" }, {
    id: "ta",
    label: "தமிழ்"
  }, { id: "te", label: "తెలుగు" }, { id: "th", label: "ไทย" }, { id: "tr", label: "Türkçe" }, {
    id: "uk",
    label: "Українська"
  }, { id: "vi", label: "Tiếng Việt" }, { id: "zh_CN", label: "中文 (简体)" }, {
    id: "zh_TW",
    label: "中文 (繁體)"
  }].sort(((e, t) => e.label.localeCompare(t.label))), Jn = "en";

  function Qn(e = "en") {
    return fetch(`/_locales/zh_CN.json`).then((e => e.json()))
  }

  const er = localStorage.getItem("i18nextLng") || function () {
    const e = navigator.languages, t = Kn.map((e => e.id));
    for (const n of e) {
      const e = n.split("-")[0];
      if (t.includes(e)) return e
    }
    return Jn
  }(), tr = function (e = "en") {
    return function (e) {
      let t, n = "pending", r = e.then((e => {
        n = "success", t = e
      }), (e => {
        n = "error", t = e
      }));
      return {
        read() {
          switch (n) {
            case "pending":
              throw r;
            case "error":
              throw t;
            case "success":
              return t
          }
        }
      }
    }(new Promise((async t => {
      t(await Qn(e))
    })))
  }(er), nr = Object(r.createContext)({});

  function rr() {
    return Object(r.useContext)(nr)
  }

  function ir({ fixed: e }) {
    const { t } = rr();
    return Dt("span", {
      css: t => ((e, t) => At("position:absolute;right:-10px;bottom:0;transform:translateX(0) translateY(50%);display:inline-block;padding:2px 7px;border:solid 2px ", e.colors.warning, ";color:", wn(.2, e.colors.warning), ";border-radius:5px;background:", e.colors.light, ";font-size:", e.sizes.small.size.mobile, ";font-weight:700;vertical-align:middle;", t && At("width:100%;height:calc(100% - 15px);top:0;left:0;transform:translate(0);z-index:200;background:", e.colors.warning, ";color:", e.colors.light, ";opacity:0;transition:all 0.3s ease;&:hover{opacity:1;}& span{display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);font-size:", e.sizes.text.size.desktop, ";}", ""), ";", ""))(t, e),
      title: t("Coming Soon")
    }, Dt("span", null, t("Coming Soon")))
  }

  var or = { name: "1azakc", styles: "text-align:center" }, ar = { name: "1flj9lk", styles: "text-align:left" },
    lr = { name: "2qga7i", styles: "text-align:right" }, ur = { name: "6tmfrw", styles: "max-width:100%;widht:100%" };

  function sr({ children: e, fluid: t, className: n, align: r }) {
    return Dt("div", {
      css: e => ((e, t, n) => At("max-width:", e.spacing.maxWidth, ";margin:auto;padding:0 ", e.spacing.marginContainer.mobile, ";", Ln(Mn), "{padding:0 ", e.spacing.marginContainer.desktop, ";}", Ln(jn), "{max-width:calc(", e.spacing.maxWidth, " + 200px);}", t && ur, " ", "right" === n && lr, " ", "left" === n && ar, " ", "center" === n && or, ";", ""))(e, t, r),
      className: n ? `${n} container` : "container"
    }, e)
  }

  const cr = {
    name: "f4xwru",
    styles: "position:relative;width:100%;min-height:1px;flex-basis:0;flex-grow:1;max-width:100%;box-sizing:border-box"
  }, fr = At(cr, " flex:0 0 auto;width:auto;max-width:none;", ""),
    dr = At(cr, " flex:0 0 8.333333%;max-width:8.333333%;", ""),
    hr = At(cr, " flex:0 0 16.666667%;max-width:16.666667%;", ""), pr = At(cr, " flex:0 0 25%;max-width:25%;", ""),
    vr = At(cr, " flex:0 0 33.333333%;max-width:33.333333%;", ""),
    mr = At(cr, " flex:0 0 41.666667%;max-width:41.666667%;", ""), br = At(cr, " flex:0 0 50%;max-width:50%;", ""),
    gr = At(cr, " flex:0 0 58.333333%;max-width:58.333333%;", ""),
    yr = At(cr, " flex:0 0 66.666667%;max-width:66.666667%;", ""), wr = At(cr, " flex:0 0 75%;max-width:75%;", ""),
    kr = At(cr, " flex:0 0 83.333333%;max-width:83.333333%;", ""),
    xr = At(cr, " flex:0 0 91.666667%;max-width:91.666667%;", ""),
    Cr = At(cr, " flex:0 0 100%;max-width:100%;", "");
  var Sr = { name: "1s92l9z", styles: "order:-1" }, Er = { name: "1s92l9z", styles: "order:-1" },
    Tr = { name: "1s92l9z", styles: "order:-1" }, Mr = { name: "1s92l9z", styles: "order:-1" },
    Or = { name: "1s92l9z", styles: "order:-1" }, jr = { name: "1s92l9z", styles: "order:-1" },
    Dr = { name: "1s92l9z", styles: "order:-1" }, Lr = { name: "1s92l9z", styles: "order:-1" },
    Ar = { name: "1s92l9z", styles: "order:-1" }, Ir = { name: "1s92l9z", styles: "order:-1" },
    Fr = { name: "1s92l9z", styles: "order:-1" }, Pr = { name: "1s92l9z", styles: "order:-1" },
    Br = { name: "1s92l9z", styles: "order:-1" }, Rr = { name: "1s92l9z", styles: "order:-1" },
    zr = { name: "1s92l9z", styles: "order:-1" }, _r = { name: "1s92l9z", styles: "order:-1" },
    Nr = { name: "2qga7i", styles: "text-align:right" }, Ur = { name: "1azakc", styles: "text-align:center" },
    Vr = { name: "1flj9lk", styles: "text-align:left" };
  const Hr = (e, t, n, r, i, o, a, l, u, s, c, f, d, h, p, v, m, b, g, y, w, k, x, C) => At("left" === e && Vr, " ", "center" === e && Ur, " ", "right" === e && Nr, " ", u && _r, " ", m && zr, " ", Ln(Sn), "{", s && Rr, " ", b && Br, " ", "auto" === t && At(fr, ";", ""), " ", 1 === t && At(dr, ";", ""), " ", 2 === t && At(hr, ";", ""), " ", 3 === t && At(pr, ";", ""), " ", 4 === t && At(vr, ";", ""), " ", 5 === t && At(mr, ";", ""), " ", 6 === t && At(br, ";", ""), " ", 7 === t && At(gr, ";", ""), " ", 8 === t && At(yr, ";", ""), " ", 9 === t && At(wr, ";", ""), " ", 10 === t && At(kr, ";", ""), " ", 11 === t && At(xr, ";", ""), " ", 12 === t && At(Cr, ";", ""), ";}", Ln(En), "{", c && Pr, " ", g && Fr, " ", "auto" === n && At(fr, ";", ""), " ", 1 === n && At(dr, ";", ""), " ", 2 === n && At(hr, ";", ""), " ", 3 === n && At(pr, ";", ""), " ", 4 === n && At(vr, ";", ""), " ", 5 === n && At(mr, ";", ""), " ", 6 === n && At(br, ";", ""), " ", 7 === n && At(gr, ";", ""), " ", 8 === n && At(yr, ";", ""), " ", 9 === n && At(wr, ";", ""), " ", 10 === n && At(kr, ";", ""), " ", 11 === n && At(xr, ";", ""), " ", 12 === n && At(Cr, ";", ""), ";}", Ln(Tn), "{", f && Ir, " ", y && Ar, " ", "auto" === r && At(fr, ";", ""), " ", 1 === r && At(dr, ";", ""), " ", 2 === r && At(hr, ";", ""), " ", 3 === r && At(pr, ";", ""), " ", 4 === r && At(vr, ";", ""), " ", 5 === r && At(mr, ";", ""), " ", 6 === r && At(br, ";", ""), " ", 7 === r && At(gr, ";", ""), " ", 8 === r && At(yr, ";", ""), " ", 9 === r && At(wr, ";", ""), " ", 10 === r && At(kr, ";", ""), " ", 11 === r && At(xr, ";", ""), " ", 12 === r && At(Cr, ";", ""), ";}", Ln(Mn), "{", d && Lr, " ", w && Dr, " ", "auto" === i && At(fr, ";", ""), " ", 1 === i && At(dr, ";", ""), " ", 2 === i && At(hr, ";", ""), " ", 3 === i && At(pr, ";", ""), " ", 4 === i && At(vr, ";", ""), " ", 5 === i && At(mr, ";", ""), " ", 6 === i && At(br, ";", ""), " ", 7 === i && At(gr, ";", ""), " ", 8 === i && At(yr, ";", ""), " ", 9 === i && At(wr, ";", ""), " ", 10 === i && At(kr, ";", ""), " ", 11 === i && At(xr, ";", ""), " ", 12 === i && At(Cr, ";", ""), ";}", Ln(On), "{", h && jr, " ", k && Or, " ", "auto" === o && At(fr, ";", ""), " ", 1 === o && At(dr, ";", ""), " ", 2 === o && At(hr, ";", ""), " ", 3 === o && At(pr, ";", ""), " ", 4 === o && At(vr, ";", ""), " ", 5 === o && At(mr, ";", ""), " ", 6 === o && At(br, ";", ""), " ", 7 === o && At(gr, ";", ""), " ", 8 === o && At(yr, ";", ""), " ", 9 === o && At(wr, ";", ""), " ", 10 === o && At(kr, ";", ""), " ", 11 === o && At(xr, ";", ""), " ", 12 === o && At(Cr, ";", ""), ";}", Ln(jn), "{", p && Mr, " ", x && Tr, " ", "auto" === a && At(fr, ";", ""), " ", 1 === a && At(dr, ";", ""), " ", 2 === a && At(hr, ";", ""), " ", 3 === a && At(pr, ";", ""), " ", 4 === a && At(vr, ";", ""), " ", 5 === a && At(mr, ";", ""), " ", 6 === a && At(br, ";", ""), " ", 7 === a && At(gr, ";", ""), " ", 8 === a && At(yr, ";", ""), " ", 9 === a && At(wr, ";", ""), " ", 10 === a && At(kr, ";", ""), " ", 11 === a && At(xr, ";", ""), " ", 12 === a && At(Cr, ";", ""), ";}", Ln(Dn), "{", v && Er, " ", C && Sr, " ", "auto" === l && At(fr, ";", ""), " ", 1 === l && At(dr, ";", ""), " ", 2 === l && At(hr, ";", ""), " ", 3 === l && At(pr, ";", ""), " ", 4 === l && At(vr, ";", ""), " ", 5 === l && At(mr, ";", ""), " ", 6 === l && At(br, ";", ""), " ", 7 === l && At(gr, ";", ""), " ", 8 === l && At(yr, ";", ""), " ", 9 === l && At(wr, ";", ""), " ", 10 === l && At(kr, ";", ""), " ", 11 === l && At(xr, ";", ""), " ", 12 === l && At(Cr, ";", ""), ";}", "");

  function $r({
    id: e,
    className: t,
    children: n,
    textAlign: r,
    xs: i,
    sm: o,
    md: a,
    lg: l,
    xl: u,
    xxl: s,
    xxxl: c,
    first: f,
    firstXs: d,
    firstSm: h,
    firstMd: p,
    firstLg: v,
    firstXl: m,
    firstXxl: b,
    firstXxxl: g,
    last: y,
    lastXs: w,
    lastSm: k,
    lastMd: x,
    lastLg: C,
    lastXl: S,
    lastXxl: E,
    lastXxxl: T
  }) {
    return Dt("div", {
      css: Hr(r, i, o, a, l, u, s, c, f, d, h, p, v, m, b, g, y, w, k, x, C, S, E, T),
      className: t ? `${t} col` : "col",
      id: e
    }, n)
  }

  const Wr = { name: "1f3egm3", styles: "display:flex;flex-wrap:wrap;justify-content:space-between" };
  var Zr = { name: "1jov1vc", styles: "justify-content:initial" },
    qr = { name: "46cjum", styles: "justify-content:space-around" },
    Xr = { name: "2o6p8u", styles: "justify-content:space-between" },
    Yr = { name: "f7ay7b", styles: "justify-content:center" },
    Gr = { name: "1f60if8", styles: "justify-content:flex-end" },
    Kr = { name: "11g6mpt", styles: "justify-content:flex-start" },
    Jr = { name: "1bmz686", styles: "align-items:initial" }, Qr = { name: "fzr848", styles: "align-items:baseline" },
    ei = { name: "1kx2ysr", styles: "align-items:flex-end" }, ti = { name: "5dh3r6", styles: "align-items:flex-start" },
    ni = { name: "1h3rtzg", styles: "align-items:center" }, ri = { name: "1ikgkii", styles: "align-items:stretch" };
  const ii = (e, t, n, r, i, o, a, l, u) => s => At(Wr, " ", "stretch" === e && ri, " ", "center" === e && ni, " ", "flex-start" === e && ti, " ", "flex-end" === e && ei, " ", "baseline" === e && Qr, " ", "initial" === e && Jr, " ", "flex-start" === t && Kr, " ", "flex-end" === t && Gr, " ", "center" === t && Yr, " ", "space-between" === t && Xr, " ", "space-around" === t && qr, " ", "initial" === t && Zr, " ", Ln(Sn), "{", "default" === n && At("margin-right:", s.spacing.marginRow.default, ";margin-left:", s.spacing.marginRow.default, ";& .col,&>*{padding-right:", s.spacing.gutterCol.default, ";padding-left:", s.spacing.gutterCol.default, ";}", ""), " ", "medium" === n && At("margin-right:", s.spacing.marginRow.medium, ";margin-left:", s.spacing.marginRow.medium, ";& .col,&>*{padding-right:", s.spacing.gutterCol.medium, ";padding-left:", s.spacing.gutterCol.medium, ";}", ""), " ", "big" === n && At("margin-right:", s.spacing.marginRow.big, ";margin-left:", s.spacing.marginRow.big, ";& .col,&>*{padding-right:", s.spacing.gutterCol.big, ";padding-left:", s.spacing.gutterCol.big, ";}", ""), ";}", Ln(En), "{", "default" === r && At("margin-right:", s.spacing.marginRow.default, ";margin-left:", s.spacing.marginRow.default, ";& .col,&>*{padding-right:", s.spacing.gutterCol.default, ";padding-left:", s.spacing.gutterCol.default, ";}", ""), " ", "medium" === r && At("margin-right:", s.spacing.marginRow.medium, ";margin-left:", s.spacing.marginRow.medium, ";& .col,&>*{padding-right:", s.spacing.gutterCol.medium, ";padding-left:", s.spacing.gutterCol.medium, ";}", ""), " ", "big" === r && At("margin-right:", s.spacing.marginRow.big, ";margin-left:", s.spacing.marginRow.big, ";& .col,&>*{padding-right:", s.spacing.gutterCol.big, ";padding-left:", s.spacing.gutterCol.big, ";}", ""), ";}", Ln(Tn), "{", "default" === i && At("margin-right:", s.spacing.marginRow.default, ";margin-left:", s.spacing.marginRow.default, ";& .col,&>*{padding-right:", s.spacing.gutterCol.default, ";padding-left:", s.spacing.gutterCol.default, ";}", ""), " ", "medium" === i && At("margin-right:", s.spacing.marginRow.medium, ";margin-left:", s.spacing.marginRow.medium, ";& .col,&>*{padding-right:", s.spacing.gutterCol.medium, ";padding-left:", s.spacing.gutterCol.medium, ";}", ""), " ", "big" === i && At("margin-right:", s.spacing.marginRow.big, ";margin-left:", s.spacing.marginRow.big, ";& .col,&>*{padding-right:", s.spacing.gutterCol.big, ";padding-left:", s.spacing.gutterCol.big, ";}", ""), ";}", Ln(Mn), "{", "default" === o && At("margin-right:", s.spacing.marginRow.default, ";margin-left:", s.spacing.marginRow.default, ";& .col,&>*{padding-right:", s.spacing.gutterCol.default, ";padding-left:", s.spacing.gutterCol.default, ";}", ""), " ", "medium" === o && At("margin-right:", s.spacing.marginRow.medium, ";margin-left:", s.spacing.marginRow.medium, ";& .col,&>*{padding-right:", s.spacing.gutterCol.medium, ";padding-left:", s.spacing.gutterCol.medium, ";}", ""), " ", "big" === o && At("margin-right:", s.spacing.marginRow.big, ";margin-left:", s.spacing.marginRow.big, ";& .col,&>*{padding-right:", s.spacing.gutterCol.big, ";padding-left:", s.spacing.gutterCol.big, ";}", ""), ";}", Ln(On), "{", "default" === a && At("margin-right:", s.spacing.marginRow.default, ";margin-left:", s.spacing.marginRow.default, ";& .col,&>*{padding-right:", s.spacing.gutterCol.default, ";padding-left:", s.spacing.gutterCol.default, ";}", ""), " ", "medium" === a && At("margin-right:", s.spacing.marginRow.medium, ";margin-left:", s.spacing.marginRow.medium, ";& .col,&>*{padding-right:", s.spacing.gutterCol.medium, ";padding-left:", s.spacing.gutterCol.medium, ";}", ""), " ", "big" === a && At("margin-right:", s.spacing.marginRow.big, ";margin-left:", s.spacing.marginRow.big, ";& .col,&>*{padding-right:", s.spacing.gutterCol.big, ";padding-left:", s.spacing.gutterCol.big, ";}", ""), ";}", Ln(jn), "{", "default" === l && At("margin-right:", s.spacing.marginRow.default, ";margin-left:", s.spacing.marginRow.default, ";& .col,&>*{padding-right:", s.spacing.gutterCol.default, ";padding-left:", s.spacing.gutterCol.default, ";}", ""), " ", "medium" === l && At("margin-right:", s.spacing.marginRow.medium, ";margin-left:", s.spacing.marginRow.medium, ";& .col,&>*{padding-right:", s.spacing.gutterCol.medium, ";padding-left:", s.spacing.gutterCol.medium, ";}", ""), " ", "big" === l && At("margin-right:", s.spacing.marginRow.big, ";margin-left:", s.spacing.marginRow.big, ";& .col,&>*{padding-right:", s.spacing.gutterCol.big, ";padding-left:", s.spacing.gutterCol.big, ";}", ""), ";}", Ln(Dn), "{", "default" === u && At("margin-right:", s.spacing.marginRow.default, ";margin-left:", s.spacing.marginRow.default, ";& .col,&>*{padding-right:", s.spacing.gutterCol.default, ";padding-left:", s.spacing.gutterCol.default, ";}", ""), " ", "medium" === u && At("margin-right:", s.spacing.marginRow.medium, ";margin-left:", s.spacing.marginRow.medium, ";& .col,&>*{padding-right:", s.spacing.gutterCol.medium, ";padding-left:", s.spacing.gutterCol.medium, ";}", ""), " ", "big" === u && At("margin-right:", s.spacing.marginRow.big, ";margin-left:", s.spacing.marginRow.big, ";& .col,&>*{padding-right:", s.spacing.gutterCol.big, ";padding-left:", s.spacing.gutterCol.big, ";}", ""), ";}", "");

  function oi({
    id: e,
    className: t,
    children: n,
    alignItems: r,
    justifyContent: i,
    gapsXs: o = "default",
    gapsSm: a,
    gapsMd: l,
    gapsLg: u,
    gapsXl: s,
    gapsXxl: c,
    gapsXxxl: f
  }) {
    return Dt("div", { css: ii(r, i, o, a, l, u, s, c, f), id: e, className: t ? `${t} row` : "row" }, n)
  }

  const ai = (e, t, n) => At("font-family:", e.fonts.head, ";font-weight:800;margin:0;", 1 === n && At("font-size:", e.sizes.h1.size.mobile, ";line-height:", e.sizes.h1.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h1.size.desktop, ";line-height:", e.sizes.h1.lineheight.desktop, ";}", ""), " ", 2 === n && At("font-size:", e.sizes.h2.size.mobile, ";line-height:", e.sizes.h2.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h2.size.desktop, ";line-height:", e.sizes.h2.lineheight.desktop, ";}", ""), " ", 3 === n && At("font-size:", e.sizes.h3.size.mobile, ";line-height:", e.sizes.h3.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h3.size.desktop, ";line-height:", e.sizes.h3.lineheight.desktop, ";}", ""), " ", 4 === n && At("font-size:", e.sizes.h4.size.mobile, ";line-height:", e.sizes.h4.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h4.size.desktop, ";line-height:", e.sizes.h4.lineheight.desktop, ";}", ""), " ", 5 === n && At("font-size:", e.sizes.h5.size.mobile, ";line-height:", e.sizes.h5.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h5.size.desktop, ";line-height:", e.sizes.h5.lineheight.desktop, ";}", ""), " ", 6 === n && At("font-size:", e.sizes.h6.size.mobile, ";line-height:", e.sizes.h6.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h6.size.desktop, ";line-height:", e.sizes.h6.lineheight.desktop, ";}", ""), " ", "h1" === t && At("font-size:", e.sizes.h1.size.mobile, ";line-height:", e.sizes.h1.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h1.size.desktop, ";line-height:", e.sizes.h1.lineheight.desktop, ";}", ""), " ", "h2" === t && At("font-size:", e.sizes.h2.size.mobile, ";line-height:", e.sizes.h2.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h2.size.desktop, ";line-height:", e.sizes.h2.lineheight.desktop, ";}", ""), " ", "h3" === t && At("font-size:", e.sizes.h3.size.mobile, ";line-height:", e.sizes.h3.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h3.size.desktop, ";line-height:", e.sizes.h3.lineheight.desktop, ";}", ""), " ", "h4" === t && At("font-size:", e.sizes.h4.size.mobile, ";line-height:", e.sizes.h4.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h4.size.desktop, ";line-height:", e.sizes.h4.lineheight.desktop, ";}", ""), " ", "h5" === t && At("font-size:", e.sizes.h5.size.mobile, ";line-height:", e.sizes.h5.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h5.size.desktop, ";line-height:", e.sizes.h5.lineheight.desktop, ";}", ""), " ", "h6" === t && At("font-size:", e.sizes.h6.size.mobile, ";line-height:", e.sizes.h6.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.h6.size.desktop, ";line-height:", e.sizes.h6.lineheight.desktop, ";}", ""), ";", "");

  function li(e) {
    return ({ children: t, size: n, className: r, id: i }) => 1 === e ? Dt("h1", {
      css: t => ai(t, n, e),
      className: r,
      id: i
    }, t) : 2 === e ? Dt("h2", {
      css: t => ai(t, n, e),
      className: r,
      id: i
    }, t) : 3 === e ? Dt("h3", {
      css: t => ai(t, n, e),
      className: r,
      id: i
    }, t) : 4 === e ? Dt("h4", {
      css: t => ai(t, n, e),
      className: r,
      id: i
    }, t) : 5 === e ? Dt("h5", {
      css: t => ai(t, n, e),
      className: r,
      id: i
    }, t) : 6 === e ? Dt("h6", { css: t => ai(t, n, e), className: r, id: i }, t) : void 0
  }

  li(1), li(2), li(3), li(4), li(5), li(6);
  var ui = { name: "w1atjl", styles: "width:100%;height:100%" },
    si = { name: "19bx5dd", styles: "position:relative;top:0;left:0;transform:none;width:17px;height:17px" };
  const ci = (function () {
    var e = At.apply(void 0, arguments), t = "animation-" + e.name;
    return {
      name: t, styles: "@keyframes " + t + "{" + e.styles + "}", anim: 1, toString: function () {
        return "_EMO_" + this.name + "_" + this.styles + "_EMO_"
      }
    }
  })`
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
`;

  function fi({ small: e }) {
    return Dt("div", {
      css: t => ((e, t) => At("position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;", t && si, " & .spinner{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:inline-block;width:64px;height:64px;", t && ui, " & div{box-sizing:border-box;display:block;position:absolute;width:51px;height:51px;margin:5px;border:5px solid ", e.colors.primary, ";border-radius:50%;animation:", ci, " 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;border-color:", e.colors.primary, " transparent transparent transparent;", t && At("width:16px;height:16px;top:0;left:0;margin:0;border:3px solid ", e.colors.primary, ";border-color:", e.colors.primary, " transparent transparent transparent;", ""), " &:nth-of-type(1){animation-delay:-0.45s;}&:nth-of-type(2){animation-delay:-0.3s;}&:nth-of-type(3){animation-delay:-0.15s;}}}", ""))(t, e),
      className: "loading"
    }, Dt("div", { className: "spinner" }, Dt("div", null), Dt("div", null), Dt("div", null), Dt("div", null)))
  }

  const di = (e, t) => At(t ? "display:inline-block;height:0;width:" : "display:block;width:100%;height:", e, "px;", "");
  var hi = { name: "eivff4", styles: "display:none" };
  const pi = (e, t, n, r, i, o, a, l, u) => At(e && At(di(e, !!u), ";", ""), " ", "none" === e && hi, " ", t && At(Ln(Sn), "{", di(t, !!u), ";}", ""), " ", "none" === t && At(Ln(Sn), "{display:none;}", ""), " ", n && At(Ln(En), "{", di(n, !!u), ";}", ""), " ", "none" === n && At(Ln(En), "{display:none;}", ""), " ", r && At(Ln(Tn), "{", di(r, !!u), ";}", ""), " ", "none" === r && At(Ln(Tn), "{display:none;}", ""), " ", i && At(Ln(Mn), "{", di(i, !!u), ";}", ""), " ", "none" === i && At(Ln(Mn), "{display:none;}", ""), " ", o && At(Ln(On), "{", di(o, !!u), ";}", ""), " ", "none" === o && At(Ln(On), "{display:none;}", ""), " ", a && At(Ln(jn), "{", di(a, !!u), ";}", ""), " ", "none" === a && At(Ln(jn), "{display:none;}", ""), " ", l && At(Ln(Dn), "{", di(l, !!u), ";}", ""), " ", "none" === l && At(Ln(Dn), "{display:none;}", ""), ";", "");

  function vi({ size: e, xs: t, sm: n, md: r, lg: i, xl: o, xxl: a, xxxl: l, horizontal: u }) {
    return Dt("span", { css: pi(e, t, n, r, i, o, a, l, u) })
  }

  function mi({ children: e, lead: t = !1 }) {
    return Dt("div", { css: e => ((e, t) => At("color:", e.colors.grayDark, ";font-size:", e.sizes.text.size.mobile, ";line-height:", e.sizes.text.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.text.size.desktop, ";line-height:", e.sizes.text.lineheight.desktop, ";}", t && At("font-size:", e.sizes.lead.size.mobile, ";line-height:", e.sizes.lead.lineheight.mobile, ";", Ln(Mn), "{font-size:", e.sizes.lead.size.desktop, ";line-height:", e.sizes.lead.lineheight.desktop, ";}", ""), ";", ""))(e, t) }, e)
  }

  function bi() {
    return Dt("svg", {
      width: "16",
      height: "16",
      viewBox: "0 0 16 16",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg",
      className: "flash"
    }, Dt("path", {
      d: "M9.85219 1.03125L3 9.5H7L6.01531 14.9134C6.01344 14.9241 6.01392 14.935 6.01671 14.9454C6.01951 14.9558 6.02456 14.9655 6.0315 14.9737C6.03844 14.982 6.04711 14.9886 6.0569 14.9931C6.06668 14.9977 6.07734 15 6.08813 15V15C6.0996 15 6.11092 14.9973 6.12117 14.9921C6.13142 14.987 6.14033 14.9795 6.14719 14.9703L13 6.5H9L9.98938 1.08594C9.99071 1.07515 9.98973 1.06421 9.9865 1.05383C9.98327 1.04345 9.97787 1.03388 9.97066 1.02575C9.96345 1.01762 9.95458 1.01112 9.94466 1.00668C9.93474 1.00224 9.92399 0.999963 9.91313 1V1C9.90123 1.00005 9.8895 1.0029 9.87892 1.00833C9.86833 1.01376 9.85917 1.02161 9.85219 1.03125V1.03125Z",
      stroke: "#0076FF",
      strokeWidth: "1.5",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }))
  }

  var gi = n(7);
  // CONCATENATED MODULE: ./node_modules/idb/build/esm/wrap-idb-value.js
  let yi, wi;
  const ki = new WeakMap, xi = new WeakMap, Ci = new WeakMap, Si = new WeakMap, Ei = new WeakMap;
  let Ti = {
    get(e, t, n) {
      if (e instanceof IDBTransaction) {
        if ("done" === t) return xi.get(e);
        if ("objectStoreNames" === t) return e.objectStoreNames || Ci.get(e);
        if ("store" === t) return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0])
      }
      return ji(e[t])
    },
    set: (e, t, n) => (e[t] = n, !0),
    has: (e, t) => e instanceof IDBTransaction && ("done" === t || "store" === t) || t in e
  };

  function Mi(e) {
    return e !== IDBDatabase.prototype.transaction || "objectStoreNames" in IDBTransaction.prototype ? (wi || (wi = [IDBCursor.prototype.advance, IDBCursor.prototype.continue, IDBCursor.prototype.continuePrimaryKey])).includes(e) ? function (...t) {
      return e.apply(Di(this), t), ji(ki.get(this))
    } : function (...t) {
      return ji(e.apply(Di(this), t))
    } : function (t, ...n) {
      const r = e.call(Di(this), t, ...n);
      return Ci.set(r, t.sort ? t.sort() : [t]), ji(r)
    }
  }

  function Oi(e) {
    return "function" == typeof e ? Mi(e) : (e instanceof IDBTransaction && function (e) {
      if (xi.has(e)) return;
      const t = new Promise(((t, n) => {
        const r = () => {
          e.removeEventListener("complete", i), e.removeEventListener("error", o), e.removeEventListener("abort", o)
        }, i = () => {
          t(), r()
        }, o = () => {
          n(e.error || new DOMException("AbortError", "AbortError")), r()
        };
        e.addEventListener("complete", i), e.addEventListener("error", o), e.addEventListener("abort", o)
      }));
      xi.set(e, t)
    }(e), t = e, (yi || (yi = [IDBDatabase, IDBObjectStore, IDBIndex, IDBCursor, IDBTransaction])).some((e => t instanceof e)) ? new Proxy(e, Ti) : e);
    var t
  }

  function ji(e) {
    if (e instanceof IDBRequest) return function (e) {
      const t = new Promise(((t, n) => {
        const r = () => {
          e.removeEventListener("success", i), e.removeEventListener("error", o)
        }, i = () => {
          t(ji(e.result)), r()
        }, o = () => {
          n(e.error), r()
        };
        e.addEventListener("success", i), e.addEventListener("error", o)
      }));
      return t.then((t => {
        t instanceof IDBCursor && ki.set(t, e)
      })).catch((() => {
      })), Ei.set(t, e), t
    }(e);
    if (Si.has(e)) return Si.get(e);
    const t = Oi(e);
    return t !== e && (Si.set(e, t), Ei.set(t, e)), t
  }

  const Di = e => Ei.get(e)
  // CONCATENATED MODULE: ./node_modules/idb/build/esm/index.js;
  const Li = ["get", "getKey", "getAll", "getAllKeys", "count"], Ai = ["put", "add", "delete", "clear"], Ii = new Map;

  function Fi(e, t) {
    if (!(e instanceof IDBDatabase) || t in e || "string" != typeof t) return;
    if (Ii.get(t)) return Ii.get(t);
    const n = t.replace(/FromIndex$/, ""), r = t !== n, i = Ai.includes(n);
    if (!(n in (r ? IDBIndex : IDBObjectStore).prototype) || !i && !Li.includes(n)) return;
    const o = async function (e, ...t) {
      const o = this.transaction(e, i ? "readwrite" : "readonly");
      let a = o.store;
      return r && (a = a.index(t.shift())), (await Promise.all([a[n](...t), i && o.done]))[0]
    };
    return Ii.set(t, o), o
  }

  Ti = (e => ({ ...e, get: (t, n, r) => Fi(t, n) || e.get(t, n, r), has: (t, n) => !!Fi(t, n) || e.has(t, n) }))(Ti);
  const Pi = "settings", Bi = "videos", Ri = "video_chunks";
  const zi = new class {
    constructor() {
      this.db = void 0, this.db = function (e, t, { blocked: n, upgrade: r, blocking: i, terminated: o } = {}) {
        const a = indexedDB.open(e, t), l = ji(a);
        return r && a.addEventListener("upgradeneeded", (e => {
          r(ji(a.result), e.oldVersion, e.newVersion, ji(a.transaction))
        })), n && a.addEventListener("blocked", (() => n())), l.then((e => {
          o && e.addEventListener("close", (() => o())), i && e.addEventListener("versionchange", (() => i()))
        })).catch((() => {
        })), l
      }("scre", 2, {
        upgrade: (e, t) => {
          if (t < 1 && e.createObjectStore(Pi), t < 2) {
            e.createObjectStore(Bi, { autoIncrement: !0 });
            e.createObjectStore(Ri, { autoIncrement: !0 }).createIndex("video_idx", "video")
          }
        }
      })
    }

    async get(e, t) {
      return (await this.db).get(e, t)
    }

    async put(e, t, n) {
      return (await this.db).put(e, t, n)
    }

    async add(e, t, n) {
      return (await this.db).add(e, t, n)
    }

    async createVideo() {
      const e = (new Date).toISOString(), t = await this.db;
      return await t.put(Bi, { date: e })
    }

    addVideoChunk(e, t) {
      this.add(Ri, { video: e, data: t })
    }

    async getVideoChunks(e) {
      const t = await this.db;
      let n = await t.getAllFromIndex(Ri, "video_idx", e);
      return new Blob(n.map((e => e.data)), { type: "video/webm" })
    }

    async deleteVideo(e) {
      const t = await this.db;
      (await t.getAllKeysFromIndex(Ri, "video_idx", e)).forEach((e => t.delete(Ri, e))), await t.delete(Bi, e)
    }

    async getVideos() {
      const e = await this.db, t = await e.getAll(Bi), n = await e.getAllKeys(Bi), r = t.map(((e, t) => {
        const r = new Date(e.date);
        return { id: n[t], date: r }
      }));
      return r.sort(((e, t) => t.date < e.date ? -1 : 1)), r
    }

    async cleanupVideos() {
      const e = await this.db;
      if (await e.count(Bi) >= 5) {
        const t = await e.getKey(Bi, IDBKeyRange.lowerBound(1));
        await this.deleteVideo(t)
      }
    }
  };

  function _i() {
    !function (e, t, n, r, i, o, a) {
      e.GoogleAnalyticsObject = i, e.ga = e.ga || function () {
        (e.ga.q = e.ga.q || []).push(arguments)
      }, e.ga.l = 1 * new Date, o = t.createElement(n), a = t.getElementsByTagName(n)[0], o.async = 1, o.src = "#", a.parentNode.insertBefore(o, a)
    }(window, document, "script", 0, "ga"), ga("create", "UA-114990894-1", "auto"), ga("set", "checkProtocolTask", null), Ui()
  }

  function Ni(e) {
    "ga" in window && ga("send", "event", ...e)
  }

  function Ui() {
    "ga" in window && ga && (ga("set", "page", document.location.pathname + document.location.hash), ga("send", "pageview"))
  }

  var Vi = class {
    constructor() {
      this.ye = void 0, this.we = void 0, this.ke = 0, this.xe = void 0, this.onRecordingStateChange = void 0, this.onVideoReady = void 0
    }

    async start(e, t) {
      this.xe = void 0, this.ye = new MediaStream([...e.getVideoTracks(), ...t ? t.getTracks() : []]);
      try {
        const e = MediaRecorder.isTypeSupported("video/webm;codecs=h264") ? { mimeType: "video/webm;codecs=h264" } : void 0;
        this.we = new MediaRecorder(this.ye, e)
      } catch (e) {
        return void console.error("Error creating MediaRecorder", e)
      }
      this.we.ondataavailable = this.Ce.bind(this), this.we.onstop = this.Se.bind(this), this.we.onerror = this.Ee.bind(this), await zi.cleanupVideos(), this.ke = await zi.createVideo(), this.we.start(1e4), this.Te(!0, !1), Ni(["video", "recordingStarted"])
    }

    Ee(e) {
      console.error("MediaRecorder  error", e)
    }

    Ce(e) {
      e.data && e.data.size > 0 && zi.addVideoChunk(this.ke, e.data)
    }

    Te(e, t) {
      this.onRecordingStateChange && this.onRecordingStateChange({ isRecording: e, isPaused: t })
    }

    async Se(e) {
      const t = await zi.getVideoChunks(this.ke);
      this.xe = t, this.onVideoReady && this.onVideoReady(this.xe), this.Te(!1, !1)
    }

    stop() {
      "inactive" !== this.we.state && (this.we.stop(), Ni(["video", "recordingStopped"]))
    }

    pause() {
      this.we.pause(), this.Te(!0, !1), Ni(["video", "recordingPaused"])
    }

    resume() {
      this.we.resume(), this.Te(!0, !1), Ni(["video", "recordingResumed"])
    }

    togglePause() {
      switch (this.we.state) {
        case "recording":
          return this.pause(), void this.Te(!0, !0);
        case "paused":
          this.resume(), this.Te(!0, !1)
      }
    }
  };
  const Hi = ["top-left", "top-right", "bottom-left", "bottom-right"], $i = { small: 360, medium: 480, large: 640 };

  function Wi(e, t = "small") {
    const n = $i[t], r = 9 * n / 16;
    switch (e) {
      case "fullscreen":
        return { x: 0, y: 0, width: 0, height: 0, bottom: void 0, right: void 0 };
      case "top-left":
        return { y: 20, x: 20, bottom: void 0, right: void 0, width: n, height: r };
      case "top-right":
        return { y: 20, right: 20, bottom: void 0, x: void 0, width: n, height: r };
      case "bottom-left":
        return { bottom: 20, x: 20, y: void 0, right: void 0, width: n, height: r };
      case "bottom-right":
        return { bottom: 20, right: 20, y: void 0, x: void 0, width: n, height: r }
    }
  }

  function Zi() {
    "chrome" in window && "extension" in chrome && chrome.runtime.sendMessage({ type: "RECORDING_STOPPED" })
  }

  let qi, Xi;
  !function (e) {
    e[e.RAW = 0] = "RAW", e[e.OPTIMIZING = 1] = "OPTIMIZING", e[e.OPTIMIZED = 2] = "OPTIMIZED"
  }(qi || (qi = {})), function (e) {
    e.NOT_FOUND = "NOT_FOUND"
  }(Xi || (Xi = {}));
  const Yi = Object(r.createContext)({});

  function Gi({ children: e }) {
    const [t, n] = Object(r.useState)(), [i, o] = Object(r.useState)(), [a, l] = Object(r.useState)(), [u, s] = Object(r.useState)(), [c, f] = Object(r.useState)(qi.RAW), [d, h] = Object(r.useState)(),
      p = Object(r.useCallback)((async () => {
        const e = await zi.getVideos();
        h(e)
      }), []), v = Object(r.useCallback)((async e => {
        n(void 0);
        const t = await zi.getVideoChunks(e);
        t.size > 0 ? (o(t), f(qi.RAW)) : (o(void 0), n(Xi.NOT_FOUND))
      }), []);
    Object(r.useEffect)((() => {
      u ? v(u) : o(void 0)
    }), [u, v]), Object(r.useEffect)((() => {
      let e;
      return i && i.size > 0 && (e = URL.createObjectURL(i), l(e)), () => {
        e && (URL.revokeObjectURL(e), l(void 0))
      }
    }), [i]);
    const m = Object(r.useCallback)((async () => {
      if (!i) return;
      f(qi.OPTIMIZING);
      const e = await (t = i, new Promise((e => {
        const n = new gi.Reader, r = new gi.Decoder, i = new FileReader;
        i.onload = function (t) {
          if (this.result) {
            r.decode(this.result).forEach((function (e) {
              n.read(e)
            })), n.stop();
            const t = gi.tools.makeMetadataSeekable(n.metadatas, n.duration, n.cues),
              i = this.result.slice(n.metadataSize), o = new Blob([t, i], { type: "video/webm" });
            e(o)
          }
        }, i.readAsArrayBuffer(t)
      })));
      var t;
      o(e), f(qi.OPTIMIZED)
    }), [i]), b = Object(r.useCallback)((() => {
      var e, t;
      a && (e = a, t = "screen-capture.webm", new Promise((n => {
        const r = document.createElement("a");
        document.body.appendChild(r), r.style.display = "none", r.target = "blank", r.href = e, r.download = t, r.click(), setTimeout((() => {
          document.body.removeChild(r), n()
        }), 100)
      })))
    }), [a]), g = Object(r.useCallback)((async () => {
      u && (await zi.deleteVideo(u), p(), s(void 0))
    }), [u, p]), y = Object(r.useCallback)((() => {
      o(void 0), f(qi.RAW), n(void 0)
    }), []);
    Object(r.useEffect)((() => () => {
      y()
    }), []);
    const w = {
      videoUrl: a,
      loadVideos: p,
      optimize: m,
      download: b,
      destroy: g,
      videos: d,
      selectedVideo: u,
      isOptimized: c,
      setSelectedVideo: s,
      unloadVideo: y,
      setVideoBlob: o,
      error: t
    };
    return Dt(Yi.Provider, { value: w }, e)
  }

  function Ki() {
    return Object(r.useContext)(Yi)
  }

  const Ji = e => At("position:relative;margin:0 auto;transition:all 0.3s ease;padding-top:56.25%;width:calc(100%);& video{background:", e.colors.dark, ";position:absolute;left:0;top:0;width:100%;height:100%;border-radius:8px;border:solid 4px ", e.colors.primary, ";outline:none;}", "");

  function Qi({ title: e, controls: t, visible: n, icon: r, titleLeftAlignMobile: o = !0, showOptimize: a }) {
    const { t: l } = rr(), { videoUrl: u, optimize: s, isOptimized: c } = Ki();
    return Dt(Un, {
      title: Dt(i.a.Fragment, null, r && "play" === r && Dt(Ft, null), " ", e),
      visible: n,
      noPadding: !0,
      shrinkTitle: !0,
      fixed: !0,
      titleActions: a && c !== qi.OPTIMIZED && Dt(Gn, {
        variant: "primary",
        frame: !0,
        onClick: s,
        fullWidth: !1,
        size: "small",
        disabled: c === qi.OPTIMIZING
      }, c === qi.OPTIMIZING ? Dt(fi, { small: !0 }) : Dt(i.a.Fragment, null, Dt(bi, null), Dt("span", null, l("Optimize"))))
    }, Dt("div", { css: e => Ji(e) }, Dt("video", { src: u, controls: t })))
  }

  function eo() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "22",
      height: "14",
      viewBox: "0 0 22 14",
      className: "camera"
    }, Dt("path", {
      fill: "none",
      stroke: "#0076FF",
      strokeWidth: "2",
      d: "M15,6 L15,1 C15,0.44772 14.5523,0 14,0 L1,0 C0.44772,0 0,0.44772 0,1 L0,11 C0,11.5523 0.44772,12 1,12 L14,12 C14.5523,12 15,11.5523 15,11 L15,6 Z M15,6 L19.8293,1.17071 C19.8923,1.10771 20,1.15233 20,1.24142 L20,10.7586 C20,10.8477 19.8923,10.8923 19.8293,10.8293 L15,6 Z",
      transform: "translate(1 1)"
    }))
  }

  function to({ ...e }) {
    return Dt("svg", Vn({
      width: "22",
      height: "22",
      viewBox: "0 0 22 22",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg",
      className: "plus"
    }, e), Dt("path", {
      d: "M11 4.1941V17.8059M17.8059 11H4.1941H17.8059Z",
      stroke: "#0076FF",
      "stroke-width": "2",
      "stroke-linecap": "round",
      "stroke-linejoin": "round"
    }))
  }

  function no() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "20",
      height: "17",
      viewBox: "0 0 20 17"
    }, Dt("path", {
      fill: "none",
      stroke: "#0076FF",
      strokeWidth: "2",
      d: "M4,15 L9,15 M14,15 L9,15 M9,15 L9,12 M9,12 L1,12 C0.44772,12 0,11.5523 0,11 L0,1 C0,0.44772 0.44772,0 1,0 L17,0 C17.5523,0 18,0.44772 18,1 L18,11 C18,11.5523 17.5523,12 17,12 L9,12 Z",
      transform: "translate(1 1)"
    }))
  }

  function ro({ visible: e, title: t, icon: n }) {
    return Dt(Un, {
      title: Dt(i.a.Fragment, null, n && "screen" === n && Dt(no, null), n && "both" === n && Dt(i.a.Fragment, null, Dt(no, null), " ", Dt(to, null), " ", Dt(eo, null)), n && "camera" === n && Dt(eo, null), Dt("span", null, t)),
      visible: e,
      noPadding: !0,
      shrinkTitle: !0,
      fixed: !0
    }, Dt("div", { css: e => Ji(e) }, Dt("video", { id: "videoPreview", autoPlay: !0, muted: !0 })))
  }

  function io() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "14",
      height: "9",
      viewBox: "0 0 14 9"
    }, Dt("polyline", {
      fill: "none",
      stroke: "#0076FF",
      strokeWidth: "2",
      points: "0 0 6 6 12 0",
      transform: "translate(1 1)"
    }))
  }

  function oo({ className: e, children: t, error: n, success: r, htmlFor: i, ...o }) {
    return Dt("label", Vn({
      className: e,
      css: e => ((e, t, n) => At("color:", e.colors.gray, ";display:inline-block;vertical-align:middle;padding:0;margin:0;", t && At("color:", e.colors.error, ";", ""), ";", n && At("color:", e.colors.success, ";", ""), ";", ""))(e, n, r),
      htmlFor: i
    }, o), t)
  }

  var ao = { name: "7uu32h", styles: "width:22px;height:22px" },
    lo = { name: "68x97p", styles: "width:32px;height:32px" };
  const uo = e => At("padding:0;margin-right:7px;", "big" === e ? lo : ao, ";", ""),
    so = (e, t, n) => At("display:block;width:100%;box-shadow:0 0 0 0 ", e.colors.secondaryLight, ";margin-top:7px;", n && At("border-color:", e.colors.error, ";", ""), " ", t && At("border-color:", e.colors.success, ";", ""), ";", "");
  var co = { name: "18wgrk7", styles: "border-radius:50%" };
  const fo = (e, t, n, r, i, o) => At("appearance:none;border:none;transition:all 0.3s ease;line-height:1;vertical-align:middle;margin:0;font-family:", e.fonts.text, ";border-radius:6px;border:solid 2px ", e.colors.grayLight, ";padding:15px 15px;background:", e.colors.light, ";@media (hover: hover){&:hover:not([disabled]){border-color:", e.colors.secondary, ";}}", At("default" === n ? (e => At("font-size:", e.sizes.input.size.mobile, ";line-height:", e.sizes.input.lineheight.mobile, ";font-weight:400;", Ln(Mn), "{font-size:", e.sizes.input.size.desktop, ";line-height:", e.sizes.input.lineheight.desktop, ";}", ""))(e) : (e => At("font-size:", e.sizes.inputBig.size.mobile, ";line-height:", e.sizes.inputBig.lineheight.mobile, ";font-weight:400;", Ln(Mn), "{font-size:", e.sizes.inputBig.size.desktop, ";line-height:", e.sizes.inputBig.lineheight.desktop, ";}", ""))(e), ";", ""), " ", "text" === t && At(so(e, i, o), ";", ""), ";", "number" === t && At(so(e, i, o), ";", ""), ";", "phone" === t && At(so(e, i, o), ";", ""), ";", "email" === t && At(so(e, i, o), ";", ""), ";", "password" === t && At(so(e, i, o), ";", ""), ";&:focus:not([disabled]){border-color:", e.colors.secondary, ";box-shadow:0 0 0 4px ", e.colors.secondaryLight, ";outline:none;}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.secondaryLight, ";}", "checkbox" === t && At(uo(n), ";", ""), ";", "radio" === t && At(uo(n), ";", ""), ";", "radio" === t && co, " ", r && At("background:", e.colors.grayLight, ";border-color:", e.colors.gray, ";color:", e.colors.gray, ";cursor:not-allowed;opacity:0.9;", ""), ";", "");
  var ho = { name: "39zqt0", styles: "left:6px;top:6px;width:10px;height:10px" },
    po = { name: "45rhol", styles: "left:9px;top:9px;width:14px;height:14px" },
    vo = { name: "m5602k", styles: "top:7px;left:6px;width:10px;height:auto" },
    mo = { name: "4etxip", styles: "top:10px;left:9px;width:14px;height:auto" };

  function bo({ className: e, children: t, size: n = "default", error: r, success: o, label: a, ...l }) {
    return Dt(i.a.Fragment, null, a && Dt(oo, { htmlFor: l.id }, a), Dt("div", { css: e => ((e, t, n, r) => At("position:relative;display:block;line-height:1;& select{width:100%;min-height:", "big" === t ? "55px" : "51px", ";padding-right:40px;&:disabled~svg{& polyline,& path{stroke:", e.colors.gray, ";}}}& select:focus:hover~svg{opacity:1;transform:translate3d(0, 0, 0) rotate(180deg);& path,& polyline{stroke:", e.colors.secondary, ";}}& svg{position:absolute;top:", "big" === t ? "22px" : "21px", ";right:15px;opacity:1;pointer-events:none;transform:translate3d(0, 0, 0) rotate(0deg);& polyline,& path{stroke:", e.colors.secondary, ";", n && At("stroke:", e.colors.success, ";", ""), " ", r && At("stroke:", e.colors.error, ";", ""), ";}}", ""))(e, n, o, r) }, Dt("select", Vn({
      className: e,
      css: e => fo(e, "text", n, l.disabled, o, r)
    }, l), t), Dt(io, null)))
  }

  function go() {
    return Dt("svg", {
      width: "12",
      height: "10",
      viewBox: "0 0 12 10",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M10 2L4.4 8L2 5.75",
      stroke: "#0EA5E9",
      strokeWidth: "3",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }))
  }

  function yo({
    className: e,
    children: t,
    size: n = "default",
    type: r = "text",
    success: i,
    error: o,
    label: a,
    ...l
  }) {
    return "checkbox" === r || "radio" === r ? Dt("div", { css: e => ((e, t, n) => At("position:relative;display:block;line-height:1;white-space:nowrap;", "checkbox" === t && At("& input:checked~svg{opacity:1;transform:translate3d(0, 0, 0) scale(1);}& input:disabled~svg{opacity:0;}& svg{position:absolute;opacity:0;pointer-events:none;transform:translate3d(0, 0, 0) scale(0.7);", "big" === n ? mo : vo, ";}", ""), " ", "radio" === t && At("& input:checked~em{opacity:1;transform:translate3d(0, 0, 0) scale(1);}& em{display:block;position:absolute;border-radius:50%;background:", e.colors.secondary, ";transition:all 0.3s ease;opacity:0;pointer-events:none;transform:translate3d(0, 0, 0) scale(0.7);", "big" === n ? po : ho, ";}", ""), ";", ""))(e, r, n) }, Dt("input", Vn({
      type: r,
      className: e,
      css: e => fo(e, r, n, l.disabled, i, o)
    }, l)), Dt("checkbox" === r ? go : "em", null), a && Dt(oo, { htmlFor: l.id }, a)) : Dt("div", null, a && Dt(oo, { htmlFor: l.id }, a), Dt("input", Vn({
      type: r,
      className: e,
      css: e => fo(e, r, n, l.disabled, i, o)
    }, l)))
  }

  const wo = {
    isSafari: /^((?!chrome|android).)*safari/i.test(navigator.userAgent),
    hasMediaRecorder: "MediaRecorder" in window,
    isWindows: navigator.platform.indexOf("Win") > -1,
    isMac: navigator.platform.indexOf("Mac") > -1,
    isChrome: /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor)
  };

  function ko() {
    const { t: e } = rr();
    return Dt(Un, {
      title: e("unsupportedBrowser"),
      visible: wo.isSafari
    }, Dt(vi, { size: 10 }), Dt(mi, null, e("unsupportedBrowserText")))
  }

  const { subtle: xo } = window.crypto;
  const Co = "gUhgfT", So = Object(r.createContext)({});
  let Eo = !1;

  function To({ ...e }) {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "10",
      height: "10",
      viewBox: "0 0 10 10"
    }, Dt("g", {
      fill: "none",
      fillRule: "evenodd",
      stroke: "#F34E55",
      strokeLinecap: "round",
      strokeLinejoin: "round",
      strokeWidth: "3",
      transform: "translate(2 2)"
    }, Dt("line", { x1: "6", x2: ".4", y2: "6" }), Dt("line", {
      x1: "6",
      x2: ".4",
      y2: "6",
      transform: "matrix(-1 0 0 1 6.4 0)"
    })))
  }

  function Mo({ className: e, children: t, titlesClassName: n, initialActiveIndex: i = 0 }) {
    const [o, a] = Object(r.useState)(i), l = r.Children.toArray(t)[o];
    return Dt("div", {
      className: e,
      css: e => ((e, t) => At("width:100%;& .tab-titles{", $n, ";display:flex;border-bottom:solid 1px ", e.colors.grayLight, ";width:100%;justify-content:space-evenly;& li{border-right:solid 1px ", e.colors.grayLight, ";flex:1;width:calc(100% / ", t, ");&:last-of-type{border-right:none;}& button{", Hn, ";width:100%;font-size:", e.sizes.button.size.mobile, ";font-weight:700;background:", e.colors.light, ";color:", e.colors.primary, ";padding:20px;height:80px;position:relative;height:100%;& span{display:block;padding-top:10px;hyphens:auto;}& svg{&.camera{margin-bottom:5px;}}@media (hover: hover){&:hover{background:", e.colors.primaryDark, ";color:", e.colors.light, ";& svg{& path{stroke:", e.colors.light, ";}}}}}&.active{& button{background:", e.colors.primary, ";color:", e.colors.light, ";& svg{& path{stroke:", e.colors.light, ";}}}}}}& .tab-content{padding:20px;}", ""))(e, r.Children.toArray(t).length)
    }, Dt("ul", { className: n ? `tab-titles ${n}` : "tab-titles" }, r.Children.map(t, ((e, t) => {
      if (!function (e) {
        if (!Object(r.isValidElement)(e)) return !1;
        const { title: t } = e.props;
        return void 0 !== t
      }(e)) return console.log("Found invalid child in Tabs. Rendering nothing instead."), null;
      const { title: n } = e.props;
      return Dt("li", { key: t, className: t === o ? "active" : "" }, Dt("button", {
        type: "button",
        onClick: () => a(t)
      }, n))
    }))), l)
  }

  function Oo({ className: e, children: t }) {
    return Dt("div", { className: e ? `${e} tab-content` : "tab-content" }, t)
  }

  function jo() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "21",
      viewBox: "0 0 16 21",
      className: "microphone"
    }, Dt("path", {
      fill: "none",
      stroke: "#0076FF",
      strokeWidth: "2",
      d: "M7 20L7 16.5455M7 16.5455C3.13401 16.5455 0 13.615 0 10M7 16.5455C10.866 16.5455 14 13.615 14 10M4 3C4 1.34315 5.3431 0 7 0 8.6569 0 10 1.34315 10 3L10 9C10 10.6569 8.6569 12 7 12 5.3431 12 4 10.6569 4 9L4 3z",
      transform: "translate(1 1)"
    }))
  }

  function Do() {
    return Dt("svg", {
      width: "22",
      height: "22",
      viewBox: "0 0 22 22",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M14.4375 8.9375V4.85547C14.4375 3.94379 14.0753 3.06945 13.4307 2.42479C12.786 1.78013 11.9117 1.41797 11 1.41797C10.0883 1.41797 9.21398 1.78013 8.56932 2.42479C7.92466 3.06945 7.5625 3.94379 7.5625 4.85547V8.9375",
      stroke: "#0076FF",
      strokeWidth: "2",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }), Dt("path", {
      d: "M15.8125 8.9375H6.1875C5.04841 8.9375 4.125 9.86091 4.125 11V18.5625C4.125 19.7016 5.04841 20.625 6.1875 20.625H15.8125C16.9516 20.625 17.875 19.7016 17.875 18.5625V11C17.875 9.86091 16.9516 8.9375 15.8125 8.9375Z",
      stroke: "#0076FF",
      strokeWidth: "2",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }))
  }

  function Lo() {
    return Dt("svg", {
      width: "22",
      height: "22",
      viewBox: "0 0 22 22",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M3.4375 19.9375V2.92789C3.43771 2.86776 3.4537 2.80873 3.48386 2.7567C3.51402 2.70468 3.5573 2.66147 3.60938 2.63141C3.94496 2.43461 4.85203 2.0625 6.875 2.0625C9.625 2.0625 13.1055 4.125 15.125 4.125C16.2652 4.12204 17.3934 3.89167 18.4435 3.44738C18.4566 3.44193 18.4708 3.43979 18.4849 3.44116C18.499 3.44253 18.5125 3.44736 18.5243 3.45523C18.5361 3.4631 18.5457 3.47376 18.5524 3.48626C18.5591 3.49876 18.5625 3.51271 18.5625 3.52688V12.9525C18.5624 12.9858 18.5526 13.0183 18.5344 13.0462C18.5162 13.074 18.4903 13.0959 18.4598 13.1093C18.1057 13.2645 16.8579 13.75 15.125 13.75C13.0625 13.75 9.625 12.375 6.875 12.375C4.125 12.375 3.4375 13.0625 3.4375 13.0625",
      stroke: "#0076FF",
      strokeWidth: "2",
      strokeMiterlimit: "10",
      strokeLinecap: "round"
    }))
  }

  const Ao = "granted", Io = "notGranted", Fo = "partial", Po = "error",
    Bo = [{ id: "1080p", label: "1080p Full HD", value: { width: 1920, height: 1080 } }, {
      id: "720p",
      label: "720p HD",
      value: { width: 1280, height: 720 }
    }, { id: "480p", label: "480p SD", value: { width: 858, height: 480 } }, {
      id: "360p",
      label: "360p",
      value: { width: 480, height: 360 }
    }, { id: "240p", label: "240p", value: { width: 352, height: 240 } }], Ro = ["small", "medium", "large"],
    zo = ["default", "circle", "square"], _o = "chrome" in window && "runtime" in chrome;

  function No() {
    window.open("/index.html#/settings")
  }

  function Uo({ children: e, type: t, showFixButton: n }) {
    return Dt(i.a.Fragment, null, Dt("div", { css: e => ((e, t) => At("border-radius:6px;color:", e.colors.light, ";padding:15px;display:flex;justify-content:space-between;& .children{margin:auto 20px auto 0;}", "info" === t && At("background:", e.colors.info, ";", ""), " ", "success" === t && At("background:", e.colors.success, ";", ""), " ", "error" === t && At("background:", e.colors.error, ";", ""), " & button{border:solid 2px white;white-space:nowrap;min-width:140px;margin:0 0 auto 0;}", ""))(e, t) }, Dt("span", { className: "children" }, e), n && _o && Dt(Gn, {
      onClick: No,
      fullWidth: !1,
      size: "small"
    }, "Fix in New Tab")))
  }

  const Vo = {
    getCameraPosition() {
      const e = localStorage.getItem("cameraPosition");
      return e && Hi.includes(e) ? e : "bottom-right"
    },
    getCameraSize() {
      const e = localStorage.getItem("cameraSize");
      return Eo && e && Ro.includes(e) ? e : "small"
    },
    getCameraShape() {
      const e = localStorage.getItem("cameraShape");
      return Eo && e && zo.includes(e) ? e : "default"
    },
    getCameraZoom() {
      const e = parseFloat(localStorage.getItem("cameraZoom") || "1");
      return Eo && e >= 1 && e <= 2 ? e : 1
    },
    getCameraMirror() {
      const e = "false" !== localStorage.getItem("cameraMirror");
      return !Eo || e
    },
    getCameraResolution() {
      const e = localStorage.getItem("preferredCameraResolutionId");
      return (Bo.find((t => t.id === e)) || Bo[0]).value
    },
    getCamera: () => localStorage.getItem("preferredCameraId") || void 0,
    getMicrophone: () => localStorage.getItem("preferredMicrophoneId") || void 0,
    getOptimizeVideo: () => "true" === localStorage.getItem("optimizeVideo")
  };
  const Ho = "video", $o = "audio", Wo = navigator.mediaDevices;

  function Zo(e) {
    return e.then((e => {
      const t = document.createElement(Ho);
      return t.volume = 0, t.srcObject = e, t.play(), t
    }))
  }

  const qo = wo.isChrome ? function (e, t) {
    const n = t / 1e3;
    var r = new AudioContext;
    const i = r.createGain();
    i.gain.value = 0, i.connect(r.destination);
    let o = !1;
    return function t() {
      const a = r.createOscillator();
      a.onended = t, a.connect(i), a.start(0), a.stop(r.currentTime + n), e(r.currentTime), o && (a.onended = function () {
      })
    }(), function () {
      o = !0
    }
  } : function (e, t) {
    const n = setInterval(e, 1e3 / t);
    return () => clearInterval(n)
  };
  var Xo = class {
    constructor() {
      this.Me = void 0, this.Oe = void 0, this.je = void 0, this.De = void 0, this.Le = void 0, this.Ae = void 0, this.Ie = !1, this.Fe = 25, this.Pe = void 0, this.Be = {
        x: 0,
        y: 0
      }, this.Me = document.createElement("canvas"), this.setResolution(window.screen.width, window.screen.height), this.Le = this.Me.getContext("2d"), this.Ae = []
    }

    setResolution(e, t) {
      this.Oe = e, this.je = t, this.Me.width = this.Oe, this.Me.height = this.je
    }

    Re(e) {
      let { x: t, y: n, width: r, height: i } = e;
      const { right: o, bottom: a } = e;
      if (!r && !i) {
        const t = e.source.srcObject.getVideoTracks()[0].getSettings();
        r = t.width, i = t.height;
        const n = Math.min(this.Oe / r, this.je / i);
        r *= n, i *= n
      }
      const l = e.shape && ["circle", "square"].includes(e.shape);
      let u;
      if (t || o ? !t && o ? (t = this.Oe - o - r, l && (t += (e.width - e.height) / 2)) : t && l && (t -= (e.width - e.height) / 2) : t = (this.Oe - r) / 2, n || a ? !n && a && (n = this.je - a - i) : n = (this.je - i) / 2, "circle" === e.shape) {
        const e = i / 2;
        u = { x: t + r / 2, y: n + e, r: e, centerX: t + r / 2, centerY: n + e }
      } else if ("square" === e.shape) {
        const e = i / 2, o = t + (r - i) / 2;
        u = { x: o, y: n, r: i, centerX: o + e, centerY: n + e }
      }
      return e.zoom && u && (r *= e.zoom, i *= e.zoom, t = u.centerX - r / 2, n = u.centerY - i / 2), e.mirror && (l ? (t = -r / 2, n = -i / 2) : (u = {
        x: 0,
        y: 0,
        r: 0,
        centerX: t + r / 2,
        centerY: n + i / 2
      }, t = -r / 2, n = -i / 2)), { ...e, x: t, y: n, width: r, height: i, mask: u }
    }

    addTrack(e) {
      this.Ae = this.Ae.concat(this.Re(e)).sort(((e, t) => e.level - t.level))
    }

    setTrack(e, t) {
      const n = this.Ae.findIndex((t => t.id === e));
      if (-1 === n) return;
      const r = this.Ae[n];
      Object.assign(r, t), this.Ae[n] = this.Re(r)
    }

    pauseTrack(e) {
      const t = this.Ae.findIndex((t => t.id === e));
      if (-1 === t) return;
      const n = this.Ae[t];
      n.source.paused ? n.source.play() : n.source.pause()
    }

    hideTrack(e) {
      const t = this.Ae.findIndex((t => t.id === e));
      if (-1 === t) return;
      const n = this.Ae[t];
      n.hidden = !n.hidden, this.Ae[t] = n
    }

    removeTrack(e) {
      this.Ae = this.Ae.filter((t => t.id !== e))
    }

    start() {
      return this.Ie = !0, 1 === this.Ae.length ? this.Ae[0].source.srcObject : (this.ze(), this.Pe = qo((() => this.N()), this.Fe), this.Me.captureStream(1e3 / this.Fe))
    }

    stop() {
      this.Ie = !1, this.Ae = [], this.Pe && this.Pe()
    }

    _e() {
      this.Le.fillStyle = "#000000", this.Le.fillRect(0, 0, this.Oe, this.je)
    }

    ze() {
      this.De = Eo ? null : atob("UmVjb3JkZWQgd2l0aCBTQ1JFLklP");
      const e = .05 * this.je;
      this.Be.y = e, this.Be.x = this.Oe / 2, this.Le.font = `${e}px Helvetica`, this.Le.shadowColor = "rgba(0, 0, 0, 0.7)", this.Le.shadowBlur = .05 * e, this.Le.shadowOffsetX = .05 * e, this.Le.shadowOffsetY = .05 * e, this.Le.textAlign = "center"
    }

    Ne() {
      this.De && (this.Le.fillStyle = "rgba(255, 255, 255, 0.9)", this.Le.fillText(this.De, this.Be.x, this.Be.y))
    }

    N() {
      this._e(), this.Ae.forEach((e => {
        if (!e.hidden) if ("circle" === e.shape && e.mask) {
          this.Le.save(), this.Le.beginPath();
          e.height;
          this.Le.arc(e.mask.x, e.mask.y, e.mask.r, 0, 2 * Math.PI, !0), this.Le.closePath(), this.Le.clip(), this.Ue(e), this.Le.restore()
        } else "square" === e.shape ? (this.Le.save(), this.Le.beginPath(), this.Le.rect(e.mask.x, e.mask.y, e.mask.r, e.mask.r), this.Le.closePath(), this.Le.clip(), this.Ue(e), this.Le.restore()) : e.mirror ? (this.Le.save(), this.Ue(e), this.Le.restore()) : this.Ue(e)
      })), this.Ne()
    }

    Ue(e) {
      e.mirror && (this.Le.translate(e.mask.centerX, e.mask.centerY), this.Le.scale(-1, 1)), this.Le.drawImage(e.source, e.x, e.y, e.width, e.height)
    }
  };
  var Yo = e => {
    Object(r.useEffect)((() => {
      if (!e) return;
      const t = e => {
        const t = "You have unsaved changes";
        return e.preventDefault(), e.returnValue = t, t
      };
      return window.addEventListener("beforeunload", t), () => window.removeEventListener("beforeunload", t)
    }), [e])
  }, Go = function (e, t) {
    return (Go = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function (e, t) {
      e.__proto__ = t
    } || function (e, t) {
      for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n])
    })(e, t)
  };

  function Ko(e, t) {
    function n() {
      this.constructor = e
    }

    Go(e, t), e.prototype = null === t ? Object.create(t) : (n.prototype = t.prototype, new n)
  }

  var Jo = function () {
    return (Jo = Object.assign || function (e) {
      for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
      return e
    }).apply(this, arguments)
  };

  function Qo(e, t) {
    var n = {};
    for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
    if (null != e && "function" == typeof Object.getOwnPropertySymbols) {
      var i = 0;
      for (r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]])
    }
    return n
  }

  function ea(e) {
    var t = "function" == typeof Symbol && Symbol.iterator, n = t && e[t], r = 0;
    if (n) return n.call(e);
    if (e && "number" == typeof e.length) return {
      next: function () {
        return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e }
      }
    };
    throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
  }

  function ta(e, t) {
    var n = "function" == typeof Symbol && e[Symbol.iterator];
    if (!n) return e;
    var r, i, o = n.call(e), a = [];
    try {
      for (; (void 0 === t || t-- > 0) && !(r = o.next()).done;) a.push(r.value)
    } catch (e) {
      i = { error: e }
    } finally {
      try {
        r && !r.done && (n = o.return) && n.call(o)
      } finally {
        if (i) throw i.error
      }
    }
    return a
  }

  function na() {
    for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(ta(arguments[t]));
    return e
  }

  var ra = 0, ia = "undefined" != typeof window && void 0 !== window.requestAnimationFrame ? function (e) {
    return window.requestAnimationFrame(e)
  } : function (e) {
    var t = Date.now(), n = Math.max(0, 16.7 - (t - ra));
    ra = t + n, setTimeout((function () {
      return e(ra)
    }), n)
  }, oa = 1 / 60 * 1e3, aa = !0, la = !1, ua = !1, sa = { delta: 0, timestamp: 0 },
    ca = ["read", "update", "preRender", "render", "postRender"], fa = function (e) {
      return la = e
    }, da = ca.reduce((function (e, t) {
      var n, r, i, o, a, l, u, s, c;
      return e[t] = (n = fa, r = [], i = [], o = 0, a = !1, l = 0, u = new WeakSet, s = new WeakSet, c = {
        cancel: function (e) {
          var t = i.indexOf(e);
          u.add(e), -1 !== t && i.splice(t, 1)
        }, process: function (e) {
          var t, f;
          if (a = !0, r = (t = [i, r])[0], (i = t[1]).length = 0, o = r.length) for (l = 0; l < o; l++) (f = r[l])(e), !0 !== s.has(f) || u.has(f) || (c.schedule(f), n(!0));
          a = !1
        }, schedule: function (e, t, n) {
          void 0 === t && (t = !1), void 0 === n && (n = !1);
          var l = n && a, c = l ? r : i;
          u.delete(e), t && s.add(e), -1 === c.indexOf(e) && (c.push(e), l && (o = r.length))
        }
      }), e
    }), {}), ha = ca.reduce((function (e, t) {
      var n = da[t];
      return e[t] = function (e, t, r) {
        return void 0 === t && (t = !1), void 0 === r && (r = !1), la || ba(), n.schedule(e, t, r), e
      }, e
    }), {}), pa = ca.reduce((function (e, t) {
      return e[t] = da[t].cancel, e
    }), {}), va = function (e) {
      return da[e].process(sa)
    }, ma = function (e) {
      la = !1, sa.delta = aa ? oa : Math.max(Math.min(e - sa.timestamp, 40), 1), aa || (oa = sa.delta), sa.timestamp = e, ua = !0, ca.forEach(va), ua = !1, la && (aa = !1, ia(ma))
    }, ba = function () {
      la = !0, aa = !0, ua || ia(ma)
    }, ya = function () {
      return sa
    }, wa = ha, ka = function (e, t) {
      return function (n) {
        return Math.max(Math.min(n, t), e)
      }
    }, xa = function (e) {
      return e % 1 ? Number(e.toFixed(5)) : e
    }, Ca = /(-)?(\d[\d\.]*)/g,
    Sa = /(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,
    Ea = /^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i, Ta = {
      test: function (e) {
        return "number" == typeof e
      }, parse: parseFloat, transform: function (e) {
        return e
      }
    }, Ma = Jo(Jo({}, Ta), { transform: ka(0, 1) }), Oa = Jo(Jo({}, Ta), { default: 1 }), ja = function (e) {
      return {
        test: function (t) {
          return "string" == typeof t && t.endsWith(e) && 1 === t.split(" ").length
        }, parse: parseFloat, transform: function (t) {
          return "" + t + e
        }
      }
    }, Da = ja("deg"), La = ja("%"), Aa = ja("px"), Ia = ja("vh"), Fa = ja("vw"), Pa = Jo(Jo({}, La), {
      parse: function (e) {
        return La.parse(e) / 100
      }, transform: function (e) {
        return La.transform(100 * e)
      }
    }), Ba = ka(0, 255), Ra = function (e) {
      return void 0 !== e.red
    }, za = function (e) {
      return void 0 !== e.hue
    };
  var _a = function (e) {
    return function (t) {
      if ("string" != typeof t) return t;
      for (var n = {}, r = function (e) {
        return e.substring(e.indexOf("(") + 1, e.lastIndexOf(")"))
      }(t).replace(/(,|\/)/g, " ").split(/ \s*/), i = 0; i < 4; i++) n[e[i]] = void 0 !== r[i] ? parseFloat(r[i]) : 1;
      return n
    }
  }, Na = Jo(Jo({}, Ta), {
    transform: function (e) {
      return Math.round(Ba(e))
    }
  });

  function Ua(e, t) {
    return e.startsWith(t) && Ea.test(e)
  }

  var Va = {
    test: function (e) {
      return "string" == typeof e ? Ua(e, "rgb") : Ra(e)
    }, parse: _a(["red", "green", "blue", "alpha"]), transform: function (e) {
      var t = e.red, n = e.green, r = e.blue, i = e.alpha, o = void 0 === i ? 1 : i;
      return function (e) {
        var t = e.red, n = e.green, r = e.blue, i = e.alpha;
        return "rgba(" + t + ", " + n + ", " + r + ", " + (void 0 === i ? 1 : i) + ")"
      }({ red: Na.transform(t), green: Na.transform(n), blue: Na.transform(r), alpha: xa(Ma.transform(o)) })
    }
  }, Ha = {
    test: function (e) {
      return "string" == typeof e ? Ua(e, "hsl") : za(e)
    }, parse: _a(["hue", "saturation", "lightness", "alpha"]), transform: function (e) {
      var t = e.hue, n = e.saturation, r = e.lightness, i = e.alpha, o = void 0 === i ? 1 : i;
      return function (e) {
        var t = e.hue, n = e.saturation, r = e.lightness, i = e.alpha;
        return "hsla(" + t + ", " + n + ", " + r + ", " + (void 0 === i ? 1 : i) + ")"
      }({
        hue: Math.round(t),
        saturation: La.transform(xa(n)),
        lightness: La.transform(xa(r)),
        alpha: xa(Ma.transform(o))
      })
    }
  }, $a = Jo(Jo({}, Va), {
    test: function (e) {
      return "string" == typeof e && Ua(e, "#")
    }, parse: function (e) {
      var t = "", n = "", r = "";
      return e.length > 4 ? (t = e.substr(1, 2), n = e.substr(3, 2), r = e.substr(5, 2)) : (t = e.substr(1, 1), n = e.substr(2, 1), r = e.substr(3, 1), t += t, n += n, r += r), {
        red: parseInt(t, 16),
        green: parseInt(n, 16),
        blue: parseInt(r, 16),
        alpha: 1
      }
    }
  }), Wa = {
    test: function (e) {
      return "string" == typeof e && Ea.test(e) || Ra(e) || za(e)
    }, parse: function (e) {
      return Va.test(e) ? Va.parse(e) : Ha.test(e) ? Ha.parse(e) : $a.test(e) ? $a.parse(e) : e
    }, transform: function (e) {
      return Ra(e) ? Va.transform(e) : za(e) ? Ha.transform(e) : e
    }
  }, Za = "${c}", qa = "${n}", Xa = function (e) {
    return "number" == typeof e ? 0 : e
  }, Ya = {
    test: function (e) {
      if ("string" != typeof e || !isNaN(e)) return !1;
      var t = 0, n = e.match(Ca), r = e.match(Sa);
      return n && (t += n.length), r && (t += r.length), t > 0
    }, parse: function (e) {
      var t = e, n = [], r = t.match(Sa);
      r && (t = t.replace(Sa, Za), n.push.apply(n, r.map(Wa.parse)));
      var i = t.match(Ca);
      return i && n.push.apply(n, i.map(Ta.parse)), n
    }, createTransformer: function (e) {
      var t = e, n = 0, r = e.match(Sa), i = r ? r.length : 0;
      if (r) for (var o = 0; o < i; o++) t = t.replace(r[o], Za), n++;
      var a = t.match(Ca), l = a ? a.length : 0;
      if (a) for (o = 0; o < l; o++) t = t.replace(a[o], qa), n++;
      return function (e) {
        for (var r = t, o = 0; o < n; o++) r = r.replace(o < i ? Za : qa, o < i ? Wa.transform(e[o]) : xa(e[o]));
        return r
      }
    }, getAnimatableNone: function (e) {
      var t = Ya.parse(e);
      return Ya.createTransformer(e)(t.map(Xa))
    }
  }, Ga = function (e, t, n) {
    return Math.min(Math.max(n, e), t)
  }, Ka = .001;

  function Ja(e) {
    var t, n, r = e.duration, i = void 0 === r ? 800 : r, o = e.bounce, a = void 0 === o ? .25 : o, l = e.velocity,
      u = void 0 === l ? 0 : l, s = e.mass, c = void 0 === s ? 1 : s, f = 1 - a;
    f = Ga(.05, 1, f), i = Ga(.01, 10, i / 1e3), f < 1 ? (t = function (e) {
      var t = e * f, n = t * i, r = t - u, o = Qa(e, f), a = Math.exp(-n);
      return Ka - r / o * a
    }, n = function (e) {
      var n = e * f * i, r = n * u + u, o = Math.pow(f, 2) * Math.pow(e, 2) * i, a = Math.exp(-n),
        l = Qa(Math.pow(e, 2), f);
      return (-t(e) + Ka > 0 ? -1 : 1) * ((r - o) * a) / l
    }) : (t = function (e) {
      return Math.exp(-e * i) * ((e - u) * i + 1) - .001
    }, n = function (e) {
      return Math.exp(-e * i) * (i * i * (u - e))
    });
    var d = function (e, t, n) {
      for (var r = n, i = 1; i < 12; i++) r -= e(r) / t(r);
      return r
    }(t, n, 5 / i);
    if (isNaN(d)) return { stiffness: 100, damping: 10 };
    var h = Math.pow(d, 2) * c;
    return { stiffness: h, damping: 2 * f * Math.sqrt(c * h) }
  }

  function Qa(e, t) {
    return e * Math.sqrt(1 - t * t)
  }

  var el = ["duration", "bounce"], tl = ["stiffness", "damping", "mass"];

  function nl(e, t) {
    return t.some((function (t) {
      return void 0 !== e[t]
    }))
  }

  function rl(e) {
    var t = e.from, n = void 0 === t ? 0 : t, r = e.to, i = void 0 === r ? 1 : r, o = e.restSpeed,
      a = void 0 === o ? 2 : o, l = e.restDelta, u = Qo(e, ["from", "to", "restSpeed", "restDelta"]),
      s = { done: !1, value: n }, c = function (e) {
        var t = Jo({ velocity: 0, stiffness: 100, damping: 10, mass: 1, isResolvedFromDuration: !1 }, e);
        if (!nl(e, tl) && nl(e, el)) {
          var n = Ja(e);
          (t = Jo(Jo(Jo({}, t), n), { velocity: 0, mass: 1 })).isResolvedFromDuration = !0
        }
        return t
      }(u), f = c.stiffness, d = c.damping, h = c.mass, p = c.velocity, v = c.isResolvedFromDuration, m = il, b = il;

    function g() {
      var e = p ? -p / 1e3 : 0, t = i - n, r = d / (2 * Math.sqrt(f * h)), o = Math.sqrt(f / h) / 1e3;
      if (null != l || (l = Math.abs(i - n) <= 1 ? .01 : .4), r < 1) {
        var a = Qa(o, r);
        m = function (n) {
          var l = Math.exp(-r * o * n);
          return i - l * ((e + r * o * t) / a * Math.sin(a * n) + t * Math.cos(a * n))
        }, b = function (n) {
          var i = Math.exp(-r * o * n);
          return r * o * i * (Math.sin(a * n) * (e + r * o * t) / a + t * Math.cos(a * n)) - i * (Math.cos(a * n) * (e + r * o * t) - a * t * Math.sin(a * n))
        }
      } else if (1 === r) m = function (n) {
        return i - Math.exp(-o * n) * (t + (e + o * t) * n)
      }; else {
        var u = o * Math.sqrt(r * r - 1);
        m = function (n) {
          var a = Math.exp(-r * o * n), l = Math.min(u * n, 300);
          return i - a * ((e + r * o * t) * Math.sinh(l) + u * t * Math.cosh(l)) / u
        }
      }
    }

    return g(), {
      next: function (e) {
        var t = m(e);
        if (v) s.done = e >= u.duration; else {
          var n = 1e3 * b(e), r = Math.abs(n) <= a, o = Math.abs(i - t) <= l;
          s.done = r && o
        }
        return s.value = s.done ? i : t, s
      }, flipTarget: function () {
        var e;
        p = -p, n = (e = [i, n])[0], i = e[1], g()
      }
    }
  }

  rl.needsInterpolation = function (e, t) {
    return "string" == typeof e || "string" == typeof t
  };
  var il = function (e) {
    return 0
  }, ol = function (e, t, n) {
    var r = t - e;
    return 0 === r ? 1 : (n - e) / r
  }, al = function (e, t, n) {
    return -n * e + n * t + e
  }, ll = function (e, t, n) {
    var r = e * e, i = t * t;
    return Math.sqrt(Math.max(0, n * (i - r) + r))
  }, ul = [$a, Va, Ha], sl = function (e) {
    return ul.find((function (t) {
      return t.test(e)
    }))
  }, cl = function (e) {
    return "'" + e + "' is not an animatable color. Use the equivalent color code instead."
  }, fl = function (e, t) {
    var n = sl(e), r = sl(t);
    cl(e), cl(t), n.transform, r.transform;
    var i = n.parse(e), o = r.parse(t), a = Jo({}, i), l = n === Ha ? al : ll;
    return function (e) {
      for (var t in a) "alpha" !== t && (a[t] = l(i[t], o[t], e));
      return a.alpha = al(i.alpha, o.alpha, e), n.transform(a)
    }
  }, dl = function (e) {
    return "number" == typeof e
  }, hl = function (e, t) {
    return function (n) {
      return t(e(n))
    }
  }, pl = function () {
    for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
    return e.reduce(hl)
  };

  function vl(e, t) {
    return dl(e) ? function (n) {
      return al(e, t, n)
    } : Wa.test(e) ? fl(e, t) : yl(e, t)
  }

  var ml = function (e, t) {
    var n = function () {
      for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
      var r = Array(e), i = 0;
      for (t = 0; t < n; t++) for (var o = arguments[t], a = 0, l = o.length; a < l; a++, i++) r[i] = o[a];
      return r
    }(e), r = n.length, i = e.map((function (e, n) {
      return vl(e, t[n])
    }));
    return function (e) {
      for (var t = 0; t < r; t++) n[t] = i[t](e);
      return n
    }
  }, bl = function (e, t) {
    var n = Jo(Jo({}, e), t), r = {};
    for (var i in n) void 0 !== e[i] && void 0 !== t[i] && (r[i] = vl(e[i], t[i]));
    return function (e) {
      for (var t in r) n[t] = r[t](e);
      return n
    }
  };

  function gl(e) {
    for (var t = Ya.parse(e), n = t.length, r = 0, i = 0, o = 0, a = 0; a < n; a++) r || "number" == typeof t[a] ? r++ : void 0 !== t[a].hue ? o++ : i++;
    return { parsed: t, numNumbers: r, numRGB: i, numHSL: o }
  }

  var yl = function (e, t) {
    var n = Ya.createTransformer(t), r = gl(e), i = gl(t);
    return r.numHSL === i.numHSL && r.numRGB === i.numRGB && (r.numNumbers, i.numNumbers), pl(ml(r.parsed, i.parsed), n)
  }, wl = function (e, t) {
    return function (n) {
      return al(e, t, n)
    }
  };

  function kl(e, t, n) {
    for (var r, i = [], o = n || ("number" == typeof (r = e[0]) ? wl : "string" == typeof r ? Wa.test(r) ? fl : yl : Array.isArray(r) ? ml : "object" == typeof r ? bl : void 0), a = e.length - 1, l = 0; l < a; l++) {
      var u = o(e[l], e[l + 1]);
      if (t) {
        var s = Array.isArray(t) ? t[l] : t;
        u = pl(s, u)
      }
      i.push(u)
    }
    return i
  }

  function xl(e, t, n) {
    var r = void 0 === n ? {} : n, i = r.clamp, o = void 0 === i || i, a = r.ease, l = r.mixer, u = e.length;
    t.length, !a || !Array.isArray(a) || a.length, e[0] > e[u - 1] && (e = [].concat(e), t = [].concat(t), e.reverse(), t.reverse());
    var s = kl(t, a, l), c = 2 === u ? function (e, t) {
      var n = e[0], r = e[1], i = t[0];
      return function (e) {
        return i(ol(n, r, e))
      }
    }(e, s) : function (e, t) {
      var n = e.length, r = n - 1;
      return function (i) {
        var o = 0, a = !1;
        if (i <= e[0] ? a = !0 : i >= e[r] && (o = r - 1, a = !0), !a) {
          for (var l = 1; l < n && !(e[l] > i || l === r); l++);
          o = l - 1
        }
        var u = ol(e[o], e[o + 1], i);
        return t[o](u)
      }
    }(e, s);
    return o ? function (t) {
      return c(Ga(e[0], e[u - 1], t))
    } : c
  }

  var Cl = function (e) {
    return function (t) {
      return 1 - e(1 - t)
    }
  }, Sl = function (e) {
    return function (t) {
      return t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2
    }
  }, El = function (e) {
    return function (t) {
      return t * t * ((e + 1) * t - e)
    }
  }, Tl = function (e) {
    var t = El(e);
    return function (e) {
      return (e *= 2) < 1 ? .5 * t(e) : .5 * (2 - Math.pow(2, -10 * (e - 1)))
    }
  }, Ml = function (e) {
    return e
  }, Ol = function (e) {
    return function (t) {
      return Math.pow(t, e)
    }
  }(2), jl = Cl(Ol), Dl = Sl(Ol), Ll = function (e) {
    return 1 - Math.sin(Math.acos(e))
  }, Al = Cl(Ll), Il = Sl(Al), Fl = El(1.525), Pl = Cl(Fl), Bl = Sl(Fl), Rl = Tl(1.525), zl = function (e) {
    if (1 === e || 0 === e) return e;
    var t = e * e;
    return e < .36363636363636365 ? 7.5625 * t : e < .7272727272727273 ? 9.075 * t - 9.9 * e + 3.4 : e < .9 ? 12.066481994459833 * t - 19.63545706371191 * e + 8.898060941828255 : 10.8 * e * e - 20.52 * e + 10.72
  }, _l = Cl(zl);

  function Nl(e, t) {
    return e.map((function () {
      return t || Dl
    })).splice(0, e.length - 1)
  }

  function Ul(e) {
    var t = e.from, n = void 0 === t ? 0 : t, r = e.to, i = void 0 === r ? 1 : r, o = e.ease, a = e.offset,
      l = e.duration, u = void 0 === l ? 300 : l, s = { done: !1, value: n }, c = Array.isArray(i) ? i : [n, i],
      f = function (e, t) {
        return e.map((function (e) {
          return e * t
        }))
      }(null != a ? a : function (e) {
        var t = e.length;
        return e.map((function (e, n) {
          return 0 !== n ? n / (t - 1) : 0
        }))
      }(c), u);

    function d() {
      return xl(f, c, { ease: Array.isArray(o) ? o : Nl(c, o) })
    }

    var h = d();
    return {
      next: function (e) {
        return s.value = h(e), s.done = e >= u, s
      }, flipTarget: function () {
        c.reverse(), h = d()
      }
    }
  }

  var Vl = {
    keyframes: Ul, spring: rl, decay: function (e) {
      var t = e.velocity, n = void 0 === t ? 0 : t, r = e.from, i = void 0 === r ? 0 : r, o = e.power,
        a = void 0 === o ? .8 : o, l = e.timeConstant, u = void 0 === l ? 350 : l, s = e.restDelta,
        c = void 0 === s ? .5 : s, f = e.modifyTarget, d = { done: !1, value: i }, h = a * n, p = i + h,
        v = void 0 === f ? p : f(p);
      return v !== p && (h = v - i), {
        next: function (e) {
          var t = -h * Math.exp(-e / u);
          return d.done = !(t > c || t < -c), d.value = d.done ? v : v + t, d
        }, flipTarget: function () {
        }
      }
    }
  };

  function Hl(e, t, n) {
    return void 0 === n && (n = 0), e - t - n
  }

  var $l = function (e) {
    var t = function (t) {
      var n = t.delta;
      return e(n)
    };
    return {
      start: function () {
        return wa.update(t, !0, !0)
      }, stop: function () {
        return pa.update(t)
      }
    }
  };

  function Wl(e) {
    var t, n, r, i, o, a = e.from, l = e.autoplay, u = void 0 === l || l, s = e.driver, c = void 0 === s ? $l : s,
      f = e.elapsed, d = void 0 === f ? 0 : f, h = e.repeat, p = void 0 === h ? 0 : h, v = e.repeatType,
      m = void 0 === v ? "loop" : v, b = e.repeatDelay, g = void 0 === b ? 0 : b, y = e.onPlay, w = e.onStop,
      k = e.onComplete, x = e.onRepeat, C = e.onUpdate,
      S = Qo(e, ["from", "autoplay", "driver", "elapsed", "repeat", "repeatType", "repeatDelay", "onPlay", "onStop", "onComplete", "onRepeat", "onUpdate"]),
      E = S.to, T = 0, M = S.duration, O = !1, j = !0, D = function (e) {
        if (Array.isArray(e.to)) return Ul;
        if (Vl[e.type]) return Vl[e.type];
        var t = new Set(Object.keys(e));
        return t.has("ease") || t.has("duration") && !t.has("dampingRatio") ? Ul : t.has("dampingRatio") || t.has("stiffness") || t.has("mass") || t.has("damping") || t.has("restSpeed") || t.has("restDelta") ? rl : Ul
      }(S);
    (null === (n = (t = D).needsInterpolation) || void 0 === n ? void 0 : n.call(t, a, E)) && (o = xl([0, 100], [a, E], { clamp: !1 }), a = 0, E = 100);
    var L = D(Jo(Jo({}, S), { from: a, to: E }));

    function A() {
      T++, "reverse" === m ? d = function (e, t, n, r) {
        return void 0 === n && (n = 0), void 0 === r && (r = !0), r ? Hl(t + -e, t, n) : t - (e - t) + n
      }(d, M, g, j = T % 2 == 0) : (d = Hl(d, M, g), "mirror" === m && L.flipTarget()), O = !1, x && x()
    }

    function I(e) {
      if (j || (e = -e), d += e, !O) {
        var t = L.next(Math.max(0, d));
        i = t.value, o && (i = o(i)), O = j ? t.done : d <= 0
      }
      null == C || C(i), O && (0 === T && (null != M || (M = d)), T < p ? function (e, t, n, r) {
        return r ? e >= t + n : e <= -n
      }(d, M, g, j) && A() : (r.stop(), k && k()))
    }

    return u && (null == y || y(), (r = c(I)).start()), {
      stop: function () {
        null == w || w(), r.stop()
      }
    }
  }

  function Zl(e, t) {
    return t ? e * (1e3 / t) : 0
  }

  var ql = function (e) {
    return e
  }, Xl = function (e) {
    return void 0 === e && (e = ql), function (t, n, r) {
      var i = n - r, o = -(0 - t + 1) * (0 - e(Math.abs(i)));
      return i <= 0 ? n + o : n - o
    }
  }, Yl = (Math.sqrt, function (e) {
    return e.hasOwnProperty("x") && e.hasOwnProperty("y")
  }), Gl = function (e) {
    return Yl(e) && e.hasOwnProperty("z")
  }, Kl = function (e, t) {
    return Math.abs(e - t)
  };

  function Jl(e, t) {
    if (dl(e) && dl(t)) return Kl(e, t);
    if (Yl(e) && Yl(t)) {
      var n = Kl(e.x, t.x), r = Kl(e.y, t.y), i = Gl(e) && Gl(t) ? Kl(e.z, t.z) : 0;
      return Math.sqrt(Math.pow(n, 2) + Math.pow(r, 2) + Math.pow(i, 2))
    }
  }

  var Ql = function (e, t) {
    return 1 - 3 * t + 3 * e
  }, eu = function (e, t) {
    return 3 * t - 6 * e
  }, tu = function (e) {
    return 3 * e
  }, nu = function (e, t, n) {
    return ((Ql(t, n) * e + eu(t, n)) * e + tu(t)) * e
  }, ru = function (e, t, n) {
    return 3 * Ql(t, n) * e * e + 2 * eu(t, n) * e + tu(t)
  };
  var iu = .1;

  function ou(e, t, n, r) {
    if (e === t && n === r) return Ml;
    for (var i = new Float32Array(11), o = 0; o < 11; ++o) i[o] = nu(o * iu, e, n);

    function a(t) {
      for (var r = 0, o = 1; 10 !== o && i[o] <= t; ++o) r += iu;
      --o;
      var a = r + (t - i[o]) / (i[o + 1] - i[o]) * iu, l = ru(a, e, n);
      return l >= .001 ? function (e, t, n, r) {
        for (var i = 0; i < 8; ++i) {
          var o = ru(t, n, r);
          if (0 === o) return t;
          t -= (nu(t, n, r) - e) / o
        }
        return t
      }(t, a, e, n) : 0 === l ? a : function (e, t, n, r, i) {
        var o, a, l = 0;
        do {
          (o = nu(a = t + (n - t) / 2, r, i) - e) > 0 ? n = a : t = a
        } while (Math.abs(o) > 1e-7 && ++l < 10);
        return a
      }(t, r, r + iu, e, n)
    }

    return function (e) {
      return 0 === e || 1 === e ? e : nu(a(e), t, r)
    }
  }

  var au = function (e) {
    return "object" == typeof e && e.hasOwnProperty("current")
  }, lu = function () {
    function e() {
      this.subscriptions = new Set
    }

    return e.prototype.add = function (e) {
      var t = this;
      return this.subscriptions.add(e), function () {
        t.subscriptions.delete(e)
      }
    }, e.prototype.notify = function (e, t, n) {
      var r, i;
      if (this.subscriptions.size) try {
        for (var o = ea(this.subscriptions), a = o.next(); !a.done; a = o.next()) {
          (0, a.value)(e, t, n)
        }
      } catch (e) {
        r = { error: e }
      } finally {
          try {
            a && !a.done && (i = o.return) && i.call(o)
          } finally {
            if (r) throw r.error
          }
        }
    }, e.prototype.clear = function () {
      this.subscriptions.clear()
    }, e
  }(), uu = function () {
    function e(e) {
      var t, n = this;
      this.timeDelta = 0, this.lastUpdated = 0, this.updateSubscribers = new lu, this.renderSubscribers = new lu, this.canTrackVelocity = !1, this.updateAndNotify = function (e, t) {
        void 0 === t && (t = !0), n.prev = n.current, n.current = e, n.prev !== n.current && n.updateSubscribers.notify(n.current), t && n.renderSubscribers.notify(n.current);
        var r = ya(), i = r.delta, o = r.timestamp;
        n.lastUpdated !== o && (n.timeDelta = i, n.lastUpdated = o, wa.postRender(n.scheduleVelocityCheck))
      }, this.scheduleVelocityCheck = function () {
        return wa.postRender(n.velocityCheck)
      }, this.velocityCheck = function (e) {
        e.timestamp !== n.lastUpdated && (n.prev = n.current)
      }, this.set(e, !1), this.canTrackVelocity = (t = this.current, !isNaN(parseFloat(t)))
    }

    return e.prototype.onChange = function (e) {
      return this.updateSubscribers.add(e)
    }, e.prototype.clearListeners = function () {
      this.updateSubscribers.clear()
    }, e.prototype.onRenderRequest = function (e) {
      return e(this.get()), this.renderSubscribers.add(e)
    }, e.prototype.attach = function (e) {
      this.passiveEffect = e
    }, e.prototype.set = function (e, t) {
      void 0 === t && (t = !0), t && this.passiveEffect ? this.passiveEffect(e, this.updateAndNotify) : this.updateAndNotify(e, t)
    }, e.prototype.get = function () {
      return this.current
    }, e.prototype.getPrevious = function () {
      return this.prev
    }, e.prototype.getVelocity = function () {
      return this.canTrackVelocity ? Zl(parseFloat(this.current) - parseFloat(this.prev), this.timeDelta) : 0
    }, e.prototype.start = function (e) {
      var t = this;
      return this.stop(), new Promise((function (n) {
        t.stopAnimation = e(n)
      })).then((function () {
        return t.clearAnimation()
      }))
    }, e.prototype.stop = function () {
      this.stopAnimation && this.stopAnimation(), this.clearAnimation()
    }, e.prototype.isAnimating = function () {
      return !!this.stopAnimation
    }, e.prototype.clearAnimation = function () {
      this.stopAnimation = null
    }, e.prototype.destroy = function () {
      this.updateSubscribers.clear(), this.renderSubscribers.clear(), this.stop()
    }, e
  }();

  function su(e) {
    return new uu(e)
  }

  var cu = function (e) {
    return 1e3 * e
  }, fu = {
    linear: Ml,
    easeIn: Ol,
    easeInOut: Dl,
    easeOut: jl,
    circIn: Ll,
    circInOut: Il,
    circOut: Al,
    backIn: Fl,
    backInOut: Bl,
    backOut: Pl,
    anticipate: Rl,
    bounceIn: _l,
    bounceInOut: function (e) {
      return e < .5 ? .5 * (1 - zl(1 - 2 * e)) : .5 * zl(2 * e - 1) + .5
    },
    bounceOut: zl
  }, du = function (e) {
    if (Array.isArray(e)) {
      e.length;
      var t = ta(e, 4);
      return ou(t[0], t[1], t[2], t[3])
    }
    return "string" == typeof e ? fu[e] : e
  }, hu = function (e, t) {
    return "zIndex" !== e && (!("number" != typeof t && !Array.isArray(t)) || !("string" != typeof t || !Ya.test(t) || t.startsWith("url(")))
  }, pu = function (e) {
    return Array.isArray(e)
  }, vu = function () {
    return { type: "spring", stiffness: 500, damping: 25, restDelta: .5, restSpeed: 10 }
  }, mu = function (e) {
    return { type: "spring", stiffness: 550, damping: 0 === e ? 100 : 30, restDelta: .01, restSpeed: 10 }
  }, bu = function () {
    return { type: "keyframes", ease: "linear", duration: .3 }
  }, gu = function (e) {
    return { type: "keyframes", duration: .8, values: e }
  }, yu = {
    x: vu,
    y: vu,
    z: vu,
    rotate: vu,
    rotateX: vu,
    rotateY: vu,
    rotateZ: vu,
    scaleX: mu,
    scaleY: mu,
    scale: mu,
    opacity: bu,
    backgroundColor: bu,
    color: bu,
    default: mu
  };

  function wu(e) {
    var t = e.yoyo, n = e.loop, r = e.flip, i = e.ease, o = e.times,
      a = Qo(e, ["yoyo", "loop", "flip", "ease", "times"]), l = Jo({}, a);
    return o && (l.offset = o), a.duration && (l.duration = cu(a.duration)), a.repeatDelay && (l.repeatDelay = cu(a.repeatDelay)), i && (l.ease = function (e) {
      return Array.isArray(e) && "number" != typeof e[0]
    }(i) ? i.map(du) : du(i)), "tween" === a.type && (l.type = "keyframes"), t ? l.repeatType = "reverse" : n ? l.repeatType = "loop" : r && (l.repeatType = "mirror"), l.repeat = n || t || r || a.repeat, "spring" !== a.type && (l.type = "keyframes"), l
  }

  function ku(e, t, n) {
    var r, i, o, a;
    return Array.isArray(t.to) && (null !== (r = e.duration) && void 0 !== r || (e.duration = .8)), function (e) {
      Array.isArray(e.to) && null === e.to[0] && (e.to = na(e.to), e.to[0] = e.from)
    }(t), function (e) {
      e.when, e.delay, e.delayChildren, e.staggerChildren, e.staggerDirection, e.repeat, e.repeatType, e.repeatDelay, e.from;
      var t = Qo(e, ["when", "delay", "delayChildren", "staggerChildren", "staggerDirection", "repeat", "repeatType", "repeatDelay", "from"]);
      return !!Object.keys(t).length
    }(e) || (e = Jo(Jo({}, e), (i = n, o = t.to, a = pu(o) ? gu : yu[i] || yu.default, Jo({ to: o }, a(o))))), Jo(Jo({}, t), wu(e))
  }

  function xu(e, t, n, r, i) {
    var o, a = function (e, t) {
      return e[t] || e.default || e
    }(r, e), l = null !== (o = a.from) && void 0 !== o ? o : t.get(), u = hu(e, n);
    "none" === l && u && "string" == typeof n && (l = Ya.getAnimatableNone(n));
    var s = hu(e, l);
    return s && u && !1 !== a.type ? function () {
      var r = {
        from: l, to: n, velocity: t.getVelocity(), onComplete: i, onUpdate: function (e) {
          return t.set(e)
        }
      };
      return "inertia" === a.type || "decay" === a.type ? function (e) {
        var t, n = e.from, r = void 0 === n ? 0 : n, i = e.velocity, o = void 0 === i ? 0 : i, a = e.min,
          l = e.max, u = e.power, s = void 0 === u ? .8 : u, c = e.timeConstant, f = void 0 === c ? 750 : c,
          d = e.bounceStiffness, h = void 0 === d ? 500 : d, p = e.bounceDamping, v = void 0 === p ? 10 : p,
          m = e.restDelta, b = void 0 === m ? 1 : m, g = e.modifyTarget, y = e.driver, w = e.onUpdate,
          k = e.onComplete;

        function x(e) {
          return void 0 !== a && e < a || void 0 !== l && e > l
        }

        function C(e) {
          return void 0 === a ? l : void 0 === l || Math.abs(a - e) < Math.abs(l - e) ? a : l
        }

        function S(e) {
          null == t || t.stop(), t = Wl(Jo(Jo({}, e), {
            driver: y, onUpdate: function (t) {
              var n;
              null == w || w(t), null === (n = e.onUpdate) || void 0 === n || n.call(e, t)
            }, onComplete: k
          }))
        }

        function E(e) {
          S(Jo({ type: "spring", stiffness: h, damping: v, restDelta: b }, e))
        }

        if (x(r)) E({ from: r, velocity: o, to: C(r) }); else {
          var T = s * o + r;
          void 0 !== g && (T = g(T));
          var M, O, j = C(T), D = j === a ? -1 : 1;
          S({
            type: "decay",
            from: r,
            velocity: o,
            timeConstant: f,
            power: s,
            restDelta: b,
            modifyTarget: g,
            onUpdate: x(T) ? function (e) {
              M = O, O = e, o = Zl(e - M, ya().delta), (1 === D && e > j || -1 === D && e < j) && E({
                from: e,
                to: j,
                velocity: o
              })
            } : void 0
          })
        }
        return {
          stop: function () {
            return null == t ? void 0 : t.stop()
          }
        }
      }(Jo(Jo({}, r), a)) : Wl(Jo(Jo({}, ku(a, r, e)), {
        onUpdate: function (e) {
          var t;
          r.onUpdate(e), null === (t = a.onUpdate) || void 0 === t || t.call(a, e)
        }, onComplete: function () {
          var e;
          r.onComplete(), null === (e = a.onComplete) || void 0 === e || e.call(a)
        }
      }))
    } : function () {
      var e;
      return t.set(n), i(), null === (e = null == a ? void 0 : a.onComplete) || void 0 === e || e.call(a), {
        stop: function () {
        }
      }
    }
  }

  function Cu(e, t, n, r) {
    return void 0 === r && (r = {}), t.start((function (i) {
      var o, a, l = xu(e, t, n, r, i), u = function (e, t) {
        var n, r, i, o, a;
        return null !== (a = null !== (o = null !== (r = null === (n = e[t]) || void 0 === n ? void 0 : n.delay) && void 0 !== r ? r : null === (i = e.default) || void 0 === i ? void 0 : i.delay) && void 0 !== o ? o : e.delay) && void 0 !== a ? a : 0
      }(r, e), s = function () {
        return a = l()
      };
      return u ? o = setTimeout(s, cu(u)) : s(), function () {
        clearTimeout(o), null == a || a.stop()
      }
    }))
  }

  var Su = function (e) {
    return pu(e) ? e[e.length - 1] || 0 : e
  }, Eu = Jo(Jo({}, Ta), { transform: Math.round }), Tu = {
    color: Wa,
    backgroundColor: Wa,
    outlineColor: Wa,
    fill: Wa,
    stroke: Wa,
    borderColor: Wa,
    borderTopColor: Wa,
    borderRightColor: Wa,
    borderBottomColor: Wa,
    borderLeftColor: Wa,
    borderWidth: Aa,
    borderTopWidth: Aa,
    borderRightWidth: Aa,
    borderBottomWidth: Aa,
    borderLeftWidth: Aa,
    borderRadius: Aa,
    radius: Aa,
    borderTopLeftRadius: Aa,
    borderTopRightRadius: Aa,
    borderBottomRightRadius: Aa,
    borderBottomLeftRadius: Aa,
    width: Aa,
    maxWidth: Aa,
    height: Aa,
    maxHeight: Aa,
    size: Aa,
    top: Aa,
    right: Aa,
    bottom: Aa,
    left: Aa,
    padding: Aa,
    paddingTop: Aa,
    paddingRight: Aa,
    paddingBottom: Aa,
    paddingLeft: Aa,
    margin: Aa,
    marginTop: Aa,
    marginRight: Aa,
    marginBottom: Aa,
    marginLeft: Aa,
    rotate: Da,
    rotateX: Da,
    rotateY: Da,
    rotateZ: Da,
    scale: Oa,
    scaleX: Oa,
    scaleY: Oa,
    scaleZ: Oa,
    skew: Da,
    skewX: Da,
    skewY: Da,
    distance: Aa,
    translateX: Aa,
    translateY: Aa,
    translateZ: Aa,
    x: Aa,
    y: Aa,
    z: Aa,
    perspective: Aa,
    transformPerspective: Aa,
    opacity: Ma,
    originX: Pa,
    originY: Pa,
    originZ: Aa,
    zIndex: Eu,
    fillOpacity: Ma,
    strokeOpacity: Ma,
    numOctaves: Eu
  }, Mu = [Ta, Aa, La, Da, Fa, Ia, {
    test: function (e) {
      return "auto" === e
    }, parse: function (e) {
      return e
    }
  }], Ou = function (e) {
    return function (t) {
      return t.test(e)
    }
  }, ju = function (e) {
    return Mu.find(Ou(e))
  }, Du = na(Mu, [Wa, Ya]), Lu = function (e) {
    return Du.find(Ou(e))
  }, Au = function (e) {
    return Tu[e]
  }, Iu = function (e, t) {
    return t && "number" == typeof e ? t.transform(e) : e
  };

  function Fu(e) {
    return Array.isArray(e)
  }

  function Pu(e) {
    return "string" == typeof e || Fu(e)
  }

  function Bu(e, t, n) {
    var r = {};
    return t ? (r = function (e) {
      return "function" == typeof e
    }(t) ? t(null != n ? n : e.getVariantPayload(), function (e) {
      var t = {};
      return e.forEachValue((function (e, n) {
        return t[n] = e.get()
      })), t
    }(e), function (e) {
      var t = {};
      return e.forEachValue((function (e, n) {
        return t[n] = e.getVelocity()
      })), t
    }(e)) : t, Jo({ transition: e.getDefaultTransition() }, r)) : r
  }

  function Ru(e, t, n) {
    e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, su(n))
  }

  function zu(e, t, n) {
    var r = (void 0 === n ? {} : n).priority, i = e.makeTargetAnimatable(Bu(e, t), !1), o = i.transitionEnd,
      a = void 0 === o ? {} : o, l = (i.transition, Qo(i, ["transitionEnd", "transition"]));
    for (var u in l = Jo(Jo({}, l), a)) {
      var s = Su(l[u]);
      Ru(e, u, s), r || (e.baseTarget[u] = s)
    }
  }

  function _u(e, t) {
    na(t).reverse().forEach((function (n) {
      var r;
      zu(e, e.getVariant(n)), null === (r = e.variantChildren) || void 0 === r || r.forEach((function (e) {
        _u(e, t)
      }))
    }))
  }

  function Nu(e, t) {
    return Array.isArray(t) ? _u(e, t) : "string" == typeof t ? _u(e, [t]) : void zu(e, t)
  }

  function Uu(e, t, n) {
    var r, i, o, a = Object.keys(t).filter((function (t) {
      return !e.hasValue(t)
    })), l = a.length;
    if (l) for (var u = 0; u < l; u++) {
      var s = a[u], c = t[s], f = null;
      if (Array.isArray(c) && (f = c[0]), null === f) {
        var d = null !== (r = n[s]) && void 0 !== r ? r : e.readNativeValue(s);
        f = void 0 !== d ? d : t[s]
      }
      "string" == typeof f && /^\-?\d*\.?\d+$/.test(f) ? f = parseFloat(f) : !Lu(f) && Ya.test(c) && (f = Ya.getAnimatableNone(c)), e.addValue(s, su(f)), null !== (i = (o = n)[s]) && void 0 !== i || (o[s] = f), e.baseTarget[s] = f
    }
  }

  function Vu(e, t) {
    if (t) return (t[e] || t.default || t).from
  }

  function Hu(e, t, n) {
    var r, i, o = {};
    for (var a in e) o[a] = null !== (r = Vu(a, t)) && void 0 !== r ? r : null === (i = n.getValue(a)) || void 0 === i ? void 0 : i.get();
    return o
  }

  function $u(e, t, n) {
    var r;
    return void 0 === n && (n = {}), n.priority && e.activeOverrides.add(n.priority), e.resetIsAnimating(n.priority), r = Fu(t) ? function (e, t, n) {
      var r = na(t).reverse().map((function (t) {
        return Wu(e, t, n)
      }));
      return Promise.all(r)
    }(e, t, n) : Pu(t) ? Wu(e, t, n) : Zu(e, t, n), e.onAnimationStart(), r.then((function () {
      return e.onAnimationComplete()
    }))
  }

  function Wu(e, t, n) {
    var r, i = n && n.priority || 0, o = e.getVariant(t), a = Bu(e, o, n && n.custom), l = a.transition || {},
      u = o ? function () {
        return Zu(e, a, n)
      } : function () {
        return Promise.resolve()
      }, s = (null === (r = e.variantChildrenOrder) || void 0 === r ? void 0 : r.size) ? function (r) {
        void 0 === r && (r = 0);
        var o = l.delayChildren;
        return function (e, t, n, r, i, o, a) {
          void 0 === n && (n = 0);
          void 0 === r && (r = 0);
          void 0 === i && (i = 1);
          void 0 === o && (o = 0);
          var l = [], u = (e.variantChildrenOrder.size - 1) * r, s = 1 === i ? function (e) {
            return e * r
          } : function (e) {
            return u - e * r
          };
          return Array.from(e.variantChildrenOrder).forEach((function (e, r) {
            var i = Wu(e, t, { priority: o, delay: n + s(r), custom: a });
            l.push(i)
          })), Promise.all(l)
        }(e, t, (void 0 === o ? 0 : o) + r, l.staggerChildren, l.staggerDirection, i, null == n ? void 0 : n.custom)
      } : function () {
        return Promise.resolve()
      }, c = l.when;
    if (c) {
      var f = ta("beforeChildren" === c ? [u, s] : [s, u], 2), d = f[0], h = f[1];
      return d().then(h)
    }
    return Promise.all([u(), s(null == n ? void 0 : n.delay)])
  }

  function Zu(e, t, n) {
    var r = void 0 === n ? {} : n, i = r.delay, o = void 0 === i ? 0 : i, a = r.priority, l = void 0 === a ? 0 : a,
      u = r.transitionOverride, s = r.custom, c = Bu(e, t, s);
    u && (c.transition = u);
    var f = e.makeTargetAnimatable(c), d = f.transitionEnd, h = f.transition,
      p = Qo(f, ["transitionEnd", "transition"]);
    l && (e.resolvedOverrides[l] = p);
    var v = [];
    for (var m in p) {
      var b = e.getValue(m);
      if (b && p && void 0 !== p[m]) {
        var g = p[m];
        l || (e.baseTarget[m] = Su(g)), e.isAnimating.has(m) || (e.isAnimating.add(m), v.push(Cu(m, b, g, Jo({ delay: o }, h))))
      }
    }
    var y = Promise.all(v);
    return d ? y.then((function () {
      return zu(e, d, { priority: l })
    })) : y
  }

  function qu(e, t, n) {
    var r;
    e.overrides[n] = t, null === (r = e.variantChildren) || void 0 === r || r.forEach((function (e) {
      qu(e, t, n)
    }))
  }

  function Xu(e, t) {
    var n = e.overrides[t];
    if (n) return $u(e, n, { priority: t })
  }

  function Yu(e, t) {
    var n;
    if (null === (n = e.variantChildrenOrder) || void 0 === n || n.forEach((function (e) {
      Yu(e, t)
    })), e.overrides[t]) {
      e.activeOverrides.delete(t);
      var r = Gu(e);
      if (e.resetIsAnimating(), r) e.overrides[r] && Xu(e, r);
      var i = e.resolvedOverrides[t];
      if (i) {
        var o = {};
        for (var a in e.baseTarget) void 0 !== i[a] && (o[a] = e.baseTarget[a]);
        e.onAnimationStart(), Zu(e, o).then((function () {
          e.onAnimationComplete()
        }))
      }
    }
  }

  function Gu(e) {
    return e.activeOverrides.size ? Math.max.apply(Math, na(Array.from(e.activeOverrides))) : 0
  }

  var Ku = function () {
    function e(e, t) {
      var n = this;
      this.children = new Set, this.baseTarget = {}, this.overrides = [], this.resolvedOverrides = [], this.activeOverrides = new Set, this.isAnimating = new Set, this.latest = {}, this.values = new Map, this.valueSubscriptions = new Map, this.config = {}, this.isMounted = !1, this.update = function () {
        return n.config.onUpdate(n.latest)
      }, this.triggerRender = function () {
        return n.render()
      }, this.ref = function (e) {
        e ? n.mount(e) : n.unmount(), n.externalRef && ("function" == typeof n.externalRef ? n.externalRef(e) : au(n.externalRef) && (n.externalRef.current = e))
      }, this.parent = e, this.rootParent = e ? e.rootParent : this, this.treePath = e ? na(e.treePath, [e]) : [], this.depth = e ? e.depth + 1 : 0, this.externalRef = t
    }

    return e.prototype.getVariantPayload = function () {
      return this.config.custom
    }, e.prototype.getVariant = function (e) {
      var t;
      return null === (t = this.config.variants) || void 0 === t ? void 0 : t[e]
    }, e.prototype.addVariantChild = function (e) {
      this.variantChildren || (this.variantChildren = new Set), this.variantChildren.add(e)
    }, e.prototype.addVariantChildOrder = function (e) {
      this.variantChildrenOrder || (this.variantChildrenOrder = new Set), this.variantChildrenOrder.add(e)
    }, e.prototype.onAnimationStart = function () {
      var e, t;
      null === (t = (e = this.config).onAnimationStart) || void 0 === t || t.call(e)
    }, e.prototype.onAnimationComplete = function () {
      var e, t;
      this.isMounted && (null === (t = (e = this.config).onAnimationComplete) || void 0 === t || t.call(e))
    }, e.prototype.getDefaultTransition = function () {
      return this.config.transition
    }, e.prototype.resetIsAnimating = function (e) {
      var t;
      void 0 === e && (e = 0), this.isAnimating.clear(), e < Gu(this) && this.checkOverrideIsAnimating(e), null === (t = this.variantChildren) || void 0 === t || t.forEach((function (t) {
        return t.resetIsAnimating(e)
      }))
    }, e.prototype.checkOverrideIsAnimating = function (e) {
      for (var t = this.overrides.length, n = e + 1; n < t; n++) {
        var r = this.resolvedOverrides[n];
        if (r) for (var i in r) this.isAnimating.add(i)
      }
    }, e.prototype.subscribe = function (e) {
      var t = this;
      return this.children.add(e), function () {
        return t.children.delete(e)
      }
    }, e.prototype.hasValue = function (e) {
      return this.values.has(e)
    }, e.prototype.addValue = function (e, t) {
      this.hasValue(e) && this.removeValue(e), this.values.set(e, t), this.setSingleStaticValue(e, t.get()), this.subscribeToValue(e, t)
    }, e.prototype.removeValue = function (e) {
      var t;
      null === (t = this.valueSubscriptions.get(e)) || void 0 === t || t(), this.valueSubscriptions.delete(e), this.values.delete(e), delete this.latest[e]
    }, e.prototype.getValue = function (e, t) {
      var n = this.values.get(e);
      return void 0 === n && void 0 !== t && (n = new uu(t), this.addValue(e, n)), n
    }, e.prototype.forEachValue = function (e) {
      this.values.forEach(e)
    }, e.prototype.getInstance = function () {
      return this.element
    }, e.prototype.updateConfig = function (e) {
      void 0 === e && (e = {}), this.config = Jo({}, e)
    }, e.prototype.setSingleStaticValue = function (e, t) {
      this.latest[e] = t
    }, e.prototype.setStaticValues = function (e, t) {
      if ("string" == typeof e) this.setSingleStaticValue(e, t); else for (var n in e) this.setSingleStaticValue(n, e[n])
    }, e.prototype.scheduleRender = function () {
      wa.render(this.triggerRender, !1, !0)
    }, e.prototype.scheduleUpdateLayoutDelta = function () {
      wa.preRender(this.rootParent.updateLayoutDelta, !1, !0)
    }, e.prototype.subscribeToValue = function (e, t) {
      var n = this, r = t.onChange((function (t) {
        n.setSingleStaticValue(e, t), n.element && n.config.onUpdate && wa.update(n.update, !1, !0)
      })), i = t.onRenderRequest((function () {
        n.element && n.scheduleRender()
      }));
      this.valueSubscriptions.set(e, (function () {
        r(), i()
      }))
    }, e.prototype.mount = function (e) {
      this.parent && (this.removeFromParent = this.parent.subscribe(this)), this.element = this.current = e
    }, e.prototype.unmount = function () {
      var e = this;
      this.forEachValue((function (t, n) {
        return e.removeValue(n)
      })), pa.update(this.update), pa.render(this.render), this.removeFromParent && this.removeFromParent()
    }, e
  }();

  function Ju(e) {
    return e
  }

  function Qu(e) {
    var t = e.top;
    return { x: { min: e.left, max: e.right }, y: { min: t, max: e.bottom } }
  }

  function es(e) {
    return { x: Jo({}, e.x), y: Jo({}, e.y) }
  }

  var ts = { translate: 0, scale: 1, origin: 0, originPoint: 0 };

  function ns() {
    return { x: Jo({}, ts), y: Jo({}, ts) }
  }

  var rs = ["", "X", "Y", "Z"], is = new Set, os = ["transformPerspective", "x", "y", "z"];

  function as(e, t) {
    return os.indexOf(e) - os.indexOf(t)
  }

  ["perspective", "translate", "scale", "rotate", "skew"].forEach((function (e) {
    var t = new Set(["rotate", "skew"]).has(e);
    rs.forEach((function (n) {
      var r = e + n;
      os.push(r), t && is.add(r)
    }))
  }));
  var ls = new Set(os);

  function us(e) {
    return ls.has(e)
  }

  var ss = new Set(["originX", "originY", "originZ"]);

  function cs(e) {
    return ss.has(e)
  }

  var fs = { x: "translateX", y: "translateY", z: "translateZ", transformPerspective: "perspective" };

  function ds(e, t) {
    var n = e.x, r = e.y;
    return "translate3d(" + n.translate / t.x + "px, " + r.translate / t.y + "px, 0) scale(" + n.scale + ", " + r.scale + ")"
  }

  var hs = ds(ns(), { x: 1, y: 1 });

  function ps(e) {
    return e.startsWith("--")
  }

  function vs(e) {
    return "string" == typeof e && e.startsWith("var(--")
  }

  var ms = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;

  function bs(e, t, n) {
    void 0 === n && (n = 1);
    var r = ta(function (e) {
      var t = ms.exec(e);
      if (!t) return [,];
      var n = ta(t, 3);
      return [n[1], n[2]]
    }(e), 2), i = r[0], o = r[1];
    if (i) {
      var a = window.getComputedStyle(t).getPropertyValue(i);
      return a ? a.trim() : vs(o) ? bs(o, t, n + 1) : o
    }
  }

  function gs(e, t) {
    return e / (t.max - t.min) * 100
  }

  var ys = "_$css";
  var ws = {
    process: function (e, t) {
      if ("string" == typeof e) {
        if (!Aa.test(e)) return e;
        e = parseFloat(e)
      }
      return gs(e, t.x) + "% " + gs(e, t.y) + "%"
    }
  }, ks = {
    borderRadius: Jo(Jo({}, ws), { applyTo: ["borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius"] }),
    borderTopLeftRadius: ws,
    borderTopRightRadius: ws,
    borderBottomLeftRadius: ws,
    borderBottomRightRadius: ws,
    boxShadow: {
      process: function (e, t, n, r) {
        var i = e, o = e.includes("var("), a = [];
        o && (e = e.replace(ms, (function (e) {
          return a.push(e), ys
        })));
        var l = Ya.parse(e);
        if (l.length > 5) return i;
        var u = Ya.createTransformer(e), s = "number" != typeof l[0] ? 1 : 0, c = n.x.scale * r.x,
          f = n.y.scale * r.y;
        l[0 + s] /= c, l[1 + s] /= f;
        var d = al(c, f, .5);
        "number" == typeof l[2 + s] && (l[2 + s] /= d), "number" == typeof l[3 + s] && (l[3 + s] /= d);
        var h = u(l);
        if (o) {
          var p = 0;
          h = h.replace(ys, (function () {
            var e = a[p];
            return p++, e
          }))
        }
        return h
      }
    }
  };

  function xs(e, t, n, r, i, o, a, l, u, s, c, f) {
    var d = a.enableHardwareAcceleration, h = a.transformTemplate, p = a.allowTransformNone;
    o.length = 0;
    var v = !1, m = !1, b = !0;
    for (var g in e) {
      var y = e[g], w = Au(g), k = Iu(y, w);
      if (us(g)) {
        if (v = !0, r[g] = k, o.push(g), !b) continue;
        y !== (void 0 !== w.default ? w.default : 0) && (b = !1)
      } else if (cs(g)) i[g] = k, m = !0; else if ("transform" !== g || "function" != typeof y) {
        var x = ps(g) ? n : t;
        if (l && ks[g]) {
          var C = ks[g].process(y, f, u, c), S = ks[g].applyTo;
          if (S) for (var E = S.length, T = 0; T < E; T++) x[S[T]] = C; else x[g] = C
        } else x[g] = k
      }
    }
    l ? (t.transform = ds(s, c), t.transform === hs && (t.transform = "")
            /**
             * If we have transform styles, build only those that distort bounding boxes (rotate/skew)
             * as translations and scales will already have been used to calculate deltaFinal.
             */, v && (t.transform += " " + function (e, t) {
        var n = "";
        t.sort(as);
        for (var r = t.length, i = 0; i < r; i++) {
          var o = t[i];
          is.has(o) && (n += o + "(" + e[o] + ") ")
        }
        return n
      }(r, o), t.transform = t.transform.trim()), h && (t.transform = h(r, t.transform)), t.transformOrigin = function (e) {
        var t = e.x, n = e.y;
        return 100 * t.origin + "% " + 100 * n.origin + "% 0"
      }(s)) : (v && (t.transform = function (e, t, n, r, i, o) {
        void 0 === i && (i = !0), void 0 === o && (o = !0);// The transform string we're going to build into.
        var a = "";
        t.sort(as);
        for (var l = !1, u = t.length, s = 0// Loop over each transform and build them into transformString
          ; s < u; s++) {
          var c = t[s];
          a += (fs[c] || c) + "(" + e[c] + ") ", "z" === c && (l = !0)
        }
        return !l && i ? a += "translateZ(0)" : a = a.trim(), n ? a = n(e, r ? "" : a) : o && r && (a = "none"), a
      }(r, o, h, b, d, p)), m && (t.transformOrigin = function (e) {
        var t = e.originX, n = void 0 === t ? "50%" : t, r = e.originY, i = void 0 === r ? "50%" : r, o = e.originZ;
        return n + " " + i + " " + (void 0 === o ? 0 : o)
      }(i)))
  }

  function Cs(e, t) {
    e.min = t.min, e.max = t.max
  }

  function Ss(e, t, n) {
    return n + t * (e - n)
  }

  function Es(e, t, n, r, i) {
    return void 0 !== i && (e = Ss(e, i, r)), Ss(e, n, r) + t
  }

  function Ts(e, t, n, r, i) {
    void 0 === t && (t = 0), void 0 === n && (n = 1), e.min = Es(e.min, t, n, r, i), e.max = Es(e.max, t, n, r, i)
  }

  function Ms(e, t) {
    var n = t.x, r = t.y;
    Ts(e.x, n.translate, n.scale, n.originPoint), Ts(e.y, r.translate, r.scale, r.originPoint)
  }

  function Os(e, t, n, r) {
    var i = ta(r, 3), o = i[0], a = i[1], l = i[2];
    e.min = t.min, e.max = t.max;
    var u = void 0 !== n[l] ? n[l] : .5, s = al(t.min, t.max, u);
    Ts(e, n[o], n[a], s, n.scale)
  }

  var js = ["x", "scaleX", "originX"], Ds = ["y", "scaleY", "originY"];

  function Ls(e, t, n, r, i) {
    return e = Ss(e -= t, 1 / n, r), void 0 !== i && (e = Ss(e, 1 / i, r)), e
  }

  function As(e, t, n) {
    var r = ta(n, 3), i = r[0], o = r[1], a = r[2];
    !function (e, t, n, r, i) {
      void 0 === t && (t = 0), void 0 === n && (n = 1), void 0 === r && (r = .5);
      var o = al(e.min, e.max, r) - t;
      e.min = Ls(e.min, t, n, o, i), e.max = Ls(e.max, t, n, o, i)
    }(e, t[i], t[o], t[a], t.scale)
  }

  function Is(e, t, n) {
    return void 0 === t && (t = 0), void 0 === n && (n = .01), Jl(e, t) < n
  }

  function Fs(e) {
    return e.max - e.min
  }

  function Ps(e, t) {
    var n = .5, r = Fs(e), i = Fs(t);
    return i > r ? n = ol(t.min, t.max - r, e.min) : r > i && (n = ol(e.min, e.max - i, t.min)), Ga(0, 1, n)
  }

  function Bs(e, t, n, r) {
    e.origin = void 0 === r ? Ps(t, n) : r, e.originPoint = al(t.min, t.max, e.origin), e.scale = Fs(n) / Fs(t), Is(e.scale, 1, 1e-4) && (e.scale = 1), e.translate = al(n.min, n.max, e.origin) - e.originPoint, Is(e.translate) && (e.translate = 0)
  }

  function Rs(e, t, n, r) {
    Bs(e.x, t.x, n.x, r), Bs(e.y, t.y, n.y, r)
  }

  function zs(e) {
    return [e("x"), e("y")]
  }

  function _s(e, t) {
    return Qu(function (e, t) {
      var n = e.top, r = e.left, i = e.bottom, o = e.right;
      void 0 === t && (t = Ju);
      var a = t({ x: r, y: n }), l = t({ x: o, y: i });
      return { top: a.y, left: a.x, bottom: l.y, right: l.x }
    }(e.getBoundingClientRect(), t))
  }

  var Ns, Us = new Set(["width", "height", "top", "left", "right", "bottom", "x", "y"]), Vs = function (e) {
    return Us.has(e)
  }, Hs = function (e, t) {
    e.set(t, !1), e.set(t)
  }, $s = function (e) {
    return e === Ta || e === Aa
  };
  !function (e) {
    e.width = "width", e.height = "height", e.left = "left", e.right = "right", e.top = "top", e.bottom = "bottom"
  }(Ns || (Ns = {}));
  var Ws = function (e, t) {
    return parseFloat(e.split(", ")[t])
  }, Zs = function (e, t) {
    return function (n, r) {
      var i = r.transform;
      if ("none" === i || !i) return 0;
      var o = i.match(/^matrix3d\((.+)\)$/);
      if (o) return Ws(o[1], t);
      var a = i.match(/^matrix\((.+)\)$/);
      return a ? Ws(a[1], e) : 0
    }
  }, qs = new Set(["x", "y", "z"]), Xs = os.filter((function (e) {
    return !qs.has(e)
  }));
  var Ys = {
    width: function (e) {
      var t = e.x;
      return t.max - t.min
    }, height: function (e) {
      var t = e.y;
      return t.max - t.min
    }, top: function (e, t) {
      var n = t.top;
      return parseFloat(n)
    }, left: function (e, t) {
      var n = t.left;
      return parseFloat(n)
    }, bottom: function (e, t) {
      var n = e.y, r = t.top;
      return parseFloat(r) + (n.max - n.min)
    }, right: function (e, t) {
      var n = e.x, r = t.left;
      return parseFloat(r) + (n.max - n.min)
    }, x: Zs(4, 13), y: Zs(5, 14)
  }, Gs = function (e, t, n, r) {
    void 0 === n && (n = {}), void 0 === r && (r = {}), t = Jo({}, t), r = Jo({}, r);
    var i = Object.keys(t).filter(Vs), o = [], a = !1, l = [];
    if (i.forEach((function (i) {
      var u = e.getValue(i);
      if (e.hasValue(i)) {
        var s, c = n[i], f = t[i], d = ju(c);
        if (pu(f)) for (var h = f.length, p = null === f[0] ? 1 : 0; p < h; p++) s ? ju(f[p]) : (s = ju(f[p])) === d || $s(d) && $s(s); else s = ju(f);
        if (d !== s) if ($s(d) && $s(s)) {
          var v = u.get();
          "string" == typeof v && u.set(parseFloat(v)), "string" == typeof f ? t[i] = parseFloat(f) : Array.isArray(f) && s === Aa && (t[i] = f.map(parseFloat))
        } else (null == d ? void 0 : d.transform) && (null == s ? void 0 : s.transform) && (0 === c || 0 === f) ? 0 === c ? u.set(s.transform(c)) : t[i] = d.transform(f) : (a || (o = function (e) {
          var t = [];
          return Xs.forEach((function (n) {
            var r = e.getValue(n);
            void 0 !== r && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0))
          })), t.length && e.render(), t
        }(e), a = !0), l.push(i), r[i] = void 0 !== r[i] ? r[i] : t[i], Hs(u, f))
      }
    })), l.length) {
      var u = function (e, t, n) {
        var r = t.getBoundingBox(), i = t.getComputedStyle(), o = i.display,
          a = { top: i.top, left: i.left, bottom: i.bottom, right: i.right, transform: i.transform };
        "none" === o && t.setStaticValues("display", e.display || "block"), t.render();
        var l = t.getBoundingBox();
        return n.forEach((function (n) {
          var o = t.getValue(n);
          Hs(o, Ys[n](r, a)), e[n] = Ys[n](l, i)
        })), e
      }(t, e, l);
      return o.length && o.forEach((function (t) {
        var n = ta(t, 2), r = n[0], i = n[1];
        e.getValue(r).set(i)
      })), e.render(), { target: u, transitionEnd: r }
    }
    return { target: t, transitionEnd: r }
  };

  function Ks(e, t, n, r) {
    return function (e) {
      return Object.keys(e).some(Vs)
    }(t) ? Gs(e, t, n, r) : { target: t, transitionEnd: r }
  }

  var Js = function (e, t, n, r) {
    var i = function (e, t, n) {
      var r, i = Qo(t, []), o = e.getInstance();
      if (!(o instanceof HTMLElement)) return { target: i, transitionEnd: n };
      for (var a in n && (n = Jo({}, n)), e.forEachValue((function (e) {
        var t = e.get();
        if (vs(t)) {
          var n = bs(t, o);
          n && e.set(n)
        }
      })), i) {
        var l = i[a];
        if (vs(l)) {
          var u = bs(l, o);
          u && (i[a] = u, n && (null !== (r = n[a]) && void 0 !== r || (n[a] = l)))
        }
      }
      return { target: i, transitionEnd: n }
    }(e, t, r);
    return Ks(e, t = i.target, n, r = i.transitionEnd)
  }, Qs = function (e) {
    function t() {
      var t = null !== e && e.apply(this, arguments) || this;
      return t.defaultConfig = {
        enableHardwareAcceleration: !0,
        allowTransformNone: !0
      }, t.style = {}, t.reactStyle = {}, t.vars = {}, t.transform = {}, t.transformOrigin = {}, t.transformKeys = [], t.config = t.defaultConfig, t.isLayoutProjectionEnabled = !1, t.layoutUpdateListeners = new lu, t.layoutMeasureListeners = new lu, t.viewportBoxUpdateListeners = new lu, t.hasViewportBoxUpdated = !1, t.targetBoxFinal = {
        x: {
          min: 0,
          max: 1
        }, y: { min: 0, max: 1 }
      }, t.treeScale = { x: 1, y: 1 }, t.prevTreeScale = { x: 1, y: 1 }, t.delta = ns(), t.deltaFinal = ns(),
        /**
         * The computed transform string to apply deltaFinal to the element. Currently this is only
         * being used to diff and decide whether to render on the current frame, but a minor optimisation
         * could be to provide this to the buildHTMLStyle function.
         */
        t.deltaTransform = hs, t.stopLayoutAxisAnimation = {
          x: function () {
          }, y: function () {
          }
        }, t.isTargetBoxLocked = !1, t.axisProgress = { x: su(0), y: su(0) }, t.updateLayoutDelta = function () {
          t.isLayoutProjectionEnabled && t.box && t.updateLayoutDeltas(), t.children.forEach(ec)
        }, t
    }

    return Ko(t, e), t.prototype.removeValue = function (t) {
      e.prototype.removeValue.call(this, t), delete this.vars[t], delete this.style[t]
    }, t.prototype.clean = function () {
      this.style = {}, this.vars = {}, this.transform = {}
    }, t.prototype.updateConfig = function (e) {
      void 0 === e && (e = {}), this.config = Jo(Jo({}, this.defaultConfig), e)
    }, t.prototype.read = function (e) {
      return this.getComputedStyle()[e] || 0
    }, t.prototype.addValue = function (t, n) {
      e.prototype.addValue.call(this, t, n), t.startsWith("rotate") && (this.layoutOrigin = .5)
    }, t.prototype.readNativeValue = function (e) {
      if (us(e)) {
        var t = Au(e);
        return t && t.default || 0
      }
      return this.read(e)
    }, t.prototype.makeTargetAnimatable = function (e, t) {
      void 0 === t && (t = !0);
      var n = e.transition, r = e.transitionEnd, i = Qo(e, ["transition", "transitionEnd"]),
        o = this.config.transformValues, a = Hu(i, n || {}, this);
      if (o && (r && (r = o(r)), i && (i = o(i)), a && (a = o(a))), t) {
        Uu(this, i, a);
        var l = Js(this, i, a, r);
        r = l.transitionEnd, i = l.target
      }
      return Jo({ transition: n, transitionEnd: r }, i)
    }, t.prototype.enableLayoutProjection = function () {
      this.isLayoutProjectionEnabled = !0
    }, t.prototype.hide = function () {
      !1 !== this.isVisible && (this.isVisible = !1, this.scheduleRender())
    }, t.prototype.show = function () {
      !0 !== this.isVisible && (this.isVisible = !0, this.scheduleRender())
    }, t.prototype.onLayoutUpdate = function (e) {
      return this.layoutUpdateListeners.add(e)
    }, t.prototype.onLayoutMeasure = function (e) {
      return this.layoutMeasureListeners.add(e)
    }, t.prototype.onViewportBoxUpdate = function (e) {
      return this.viewportBoxUpdateListeners.add(e)
    }, t.prototype.layoutReady = function (e) {
      this.layoutUpdateListeners.notify(this.box, this.prevViewportBox || this.box, e)
    }, t.prototype.getBoundingBox = function () {
      var e = this.config.transformPagePoint;
      return _s(this.element, e)
    }, t.prototype.getBoundingBoxWithoutTransforms = function () {
      var e, t, n = this.getBoundingBox();
      return e = n, t = this.latest, As(e.x, t, js), As(e.y, t, Ds), n
    }, t.prototype.getComputedStyle = function () {
      return window.getComputedStyle(this.element)
    }, t.prototype.snapshotBoundingBox = function () {
      this.prevViewportBox = this.getBoundingBoxWithoutTransforms(), this.rebaseTargetBox(!1, this.prevViewportBox)
    }, t.prototype.rebaseTargetBox = function (e, t) {
      var n = this;
      void 0 === e && (e = !1), void 0 === t && (t = this.box);
      var r = this.axisProgress, i = r.x, o = r.y,
        a = this.box && !this.isTargetBoxLocked && !i.isAnimating() && !o.isAnimating();
      (e || a) && zs((function (e) {
        var r = t[e], i = r.min, o = r.max;
        n.setAxisTarget(e, i, o)
      }))
    }, t.prototype.measureLayout = function () {
      var e = this;
      this.box = this.getBoundingBox(), this.boxCorrected = es(this.box), this.targetBox || (this.targetBox = es(this.box)), this.layoutMeasureListeners.notify(this.box, this.prevViewportBox || this.box), wa.update((function () {
        return e.rebaseTargetBox()
      }))
    }, t.prototype.lockTargetBox = function () {
      this.isTargetBoxLocked = !0
    }, t.prototype.unlockTargetBox = function () {
      this.stopLayoutAnimation(), this.isTargetBoxLocked = !1
    }, t.prototype.resetTransform = function () {
      var e = this.config.transformTemplate;
      this.element.style.transform = e ? e({}, "") : "none", this.scheduleRender()
    }, t.prototype.setAxisTarget = function (e, t, n) {
      var r = this.targetBox[e];
      r.min = t, r.max = n, this.hasViewportBoxUpdated = !0, this.rootParent.scheduleUpdateLayoutDelta()
    }, t.prototype.startLayoutAxisAnimation = function (e, t) {
      var n, r = this, i = this.axisProgress[e], o = this.targetBox[e], a = o.min, l = o.max - a;
      return i.clearListeners(), i.set(a), i.set(a), i.onChange((function (t) {
        return r.setAxisTarget(e, t, t + l)
      })), null === (n = this.animateMotionValue) || void 0 === n ? void 0 : n.call(this, e, i, 0, t)
    }, t.prototype.stopLayoutAnimation = function () {
      var e = this;
      zs((function (t) {
        return e.axisProgress[t].stop()
      }))
    }, t.prototype.updateLayoutDeltas = function () {
      var e, t, n, r, i;
      e = this.boxCorrected, t = this.box, Cs(e.x, t.x), Cs(e.y, t.y), this.parent && (this.prevTreeScale.x = this.treeScale.x, this.prevTreeScale.y = this.treeScale.y, n = this.treeScale, r = this.parent.treeScale, i = this.parent.delta, n.x = r.x * i.x.scale, n.y = r.y * i.y.scale), function (e, t) {
        for (var n = t.length, r = 0; r < n; r++) Ms(e, t[r].delta)
      }(this.boxCorrected, this.treePath), Rs(this.delta, this.boxCorrected, this.targetBox, this.layoutOrigin), this.hasViewportBoxUpdated && this.viewportBoxUpdateListeners.notify(this.targetBox, this.delta), this.hasViewportBoxUpdated = !1;
      var o = ds(this.delta, this.treeScale);
      o === this.deltaTransform && this.prevTreeScale.x === this.treeScale.x && this.prevTreeScale.y === this.treeScale.y || this.scheduleRender(), this.deltaTransform = o
    }, t.prototype.updateTransformDeltas = function () {
      var e, t, n;
      this.isLayoutProjectionEnabled && this.box && (e = this.targetBoxFinal, t = this.targetBox, n = this.latest, Os(e.x, t.x, n, js), Os(e.y, t.y, n, Ds), Rs(this.deltaFinal, this.boxCorrected, this.targetBoxFinal, this.layoutOrigin))
    }, t.prototype.build = function () {
      this.updateTransformDeltas(), void 0 !== this.isVisible && (this.style.visibility = this.isVisible ? "visible" : "hidden"), xs(this.latest, this.style, this.vars, this.transform, this.transformOrigin, this.transformKeys, this.config, this.isLayoutProjectionEnabled && !!this.box, this.delta, this.deltaFinal, this.treeScale, this.targetBoxFinal)
    },
      /**
       * Render the Element by rebuilding and applying the latest styles and vars.
       */
      t.prototype.render = function () {
        for (var e in
          // Rebuild the latest animated values into style and vars caches.
          this.build(), Object.assign(this.element.style, this.style), this.vars) this.element.style.setProperty(e, this.vars[e])
      }, t
  }(Ku), ec = function (e) {
    return e.updateLayoutDelta()
  };

  function tc(e) {
    var t = Object(r.useRef)(null);
    return null === t.current && (t.current = e()), t.current
  }

  function nc(e, t, n) {
    return "string" == typeof e ? e : Aa.transform(t + n * e)
  }

  var rc = function (e, t) {
    return Aa.transform(e * t)
  }, ic = { offset: "stroke-dashoffset", array: "stroke-dasharray" },
    oc = { offset: "strokeDashoffset", array: "strokeDasharray" };
  var ac = { x: 0, y: 0, width: 0, height: 0 };

  function lc(e, t, n, r, i, o, a, l, u, s, c, f, d, h, p) {
    var v = e.attrX, m = e.attrY, b = e.originX, g = e.originY, y = e.pathLength, w = e.pathSpacing,
      k = void 0 === w ? 1 : w, x = e.pathOffset, C = void 0 === x ? 0 : x;
    /**
     * With SVG we treat all animated values as attributes rather than CSS, so we build into attrs
     */
    return xs(Qo(e, ["attrX", "attrY", "originX", "originY", "pathLength", "pathSpacing", "pathOffset"]), r, n, i, o, a, l, c, f, d, h, p), r.transform && (t.transform = r.transform, delete r.transform), (void 0 !== b || void 0 !== g || t.transform) && (t.transformOrigin = function (e, t, n) {
      return nc(t, e.x, e.width) + " " + nc(n, e.y, e.height)
    }(u || ac, void 0 !== b ? b : .5, void 0 !== g ? g : .5)), void 0 !== v && (r.x = v), void 0 !== m && (r.y = m), void 0 !== s && void 0 !== y && function (e, t, n, r, i, o) {
      void 0 === r && (r = 1), void 0 === i && (i = 0), void 0 === o && (o = !0);
      var a = o ? ic : oc;
      e[a.offset] = rc(-i, t);
      var l = rc(n, t), u = rc(r, t);
      e[a.array] = l + " " + u
    }(r, s, y, k, C, !1), r
  }

  var uc = new Set(["baseFrequency", "diffuseConstant", "kernelMatrix", "kernelUnitLength", "keySplines", "keyTimes", "limitingConeAngle", "markerHeight", "markerWidth", "numOctaves", "targetX", "targetY", "surfaceScale", "specularConstant", "specularExponent", "stdDeviation", "tableValues", "viewBox"]),
    sc = /([a-z])([A-Z])/g, cc = function (e) {
      return e.replace(sc, "$1-$2").toLowerCase()
    }, fc = function (e) {
      function t() {
        var t = null !== e && e.apply(this, arguments) || this;
        return t.attrs = {}, t.defaultConfig = { enableHardwareAcceleration: !1 }, t.config = t.defaultConfig, t
      }

      return Ko(t, e), t.prototype.mount = function (t) {
        e.prototype.mount.call(this, t), this.measure()
      }, t.prototype.measure = function () {
        try {
          this.dimensions = "function" == typeof this.element.getBBox ? this.element.getBBox() : this.element.getBoundingClientRect()
        } catch (e) {
          this.dimensions = { x: 0, y: 0, width: 0, height: 0 }
        }
        "path" === this.element.tagName && (this.totalPathLength = this.element.getTotalLength())
      }, t.prototype.clean = function () {
        e.prototype.clean.call(this), this.attrs = {}
      }, t.prototype.read = function (e) {
        return e = uc.has(e) ? e : cc(e), this.element.getAttribute(e)
      }, t.prototype.build = function () {
        this.updateTransformDeltas(), lc(this.latest, this.style, this.vars, this.attrs, this.transform, this.transformOrigin, this.transformKeys, this.config, this.dimensions, this.totalPathLength, this.isLayoutProjectionEnabled && !!this.box, this.delta, this.deltaFinal, this.treeScale, this.targetBoxFinal)
      }, t.prototype.render = function () {
        for (var t in e.prototype.render.call(this), this.attrs) this.element.setAttribute(uc.has(t) ? t : cc(t), this.attrs[t])
      }, t
    }(Qs);
  var dc = new Set(["animate", "circle", "clipPath", "defs", "desc", "ellipse", "feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence", "filter", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "metadata", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "switch", "symbol", "text", "textPath", "tspan", "use", "view"]);

  function hc(e) {
    return "string" == typeof e && dc.has(e)
  }

  var pc = Object(r.createContext)(null), vc = Object(r.createContext)({ variantContext: {} });

  function mc() {
    return Object(r.useContext)(vc).variantContext
  }

  function bc() {
    return Object(r.useContext)(vc).visualElement
  }

  var gc = new Set(["initial", "animate", "exit", "style", "variants", "transition", "transformTemplate", "transformValues", "custom", "inherit", "layout", "layoutId", "onLayoutAnimationComplete", "onViewportBoxUpdate", "onAnimationStart", "onAnimationComplete", "onUpdate", "onDragStart", "onDrag", "onDragEnd", "onMeasureDragConstraints", "onDirectionLock", "onDragTransitionEnd", "drag", "dragControls", "dragListener", "dragConstraints", "dragDirectionLock", "_dragX", "_dragY", "dragElastic", "dragMomentum", "dragPropagation", "dragTransition", "onPan", "onPanStart", "onPanEnd", "onPanSessionStart", "onTap", "onTapStart", "onTapCancel", "whileHover", "whileTap", "onHoverEnd", "onHoverStart"]);

  function yc(e) {
    return gc.has(e)
  }

  var wc = function (e) {
    return !yc(e)
  };
  try {
    var kc = n(37).default;
    wc = function (e) {
      return e.startsWith("on") ? !yc(e) : kc(e)
    }
  } catch (e) {
  }
  var xc = function (e) {
    return e instanceof uu
  };

  function Cc(e, t) {
    var n = t.layout, r = t.layoutId;
    return us(e) || cs(e) || (n || void 0 !== r) && !!ks[e]
  }

  function Sc(e, t, n, r, i) {
    for (var o in void 0 === r && (r = !1), r && (e.reactStyle = {}), n) {
      var a = n[o], l = !1;
      if (xc(a)) Mc.has(o) || (e.addValue(o, a), l = !0); else if (Cc(o, i)) {
        if (e.hasValue(o)) {
          if (a !== t[o]) {
            if (xc(t[o])) e.addValue(o, su(a)); else e.getValue(o).set(a)
          }
        } else e.addValue(o, su(a));
        l = !0
      } else r && (e.reactStyle[o] = a);
      l && (t[o] = a)
    }
  }

  var Ec, Tc, Mc = new Set([]), Oc = function () {
    return {}
  }, jc = Object(r.createContext)({
    transformPagePoint: function (e) {
      return e
    }, features: [], isStatic: !1
  });

  function Dc(e) {
    var t = e.animate, n = e.variants, r = e.inherit;
    return void 0 === r ? !!n && !t : r
  }

  !function (e) {
    e[e.Entering = 0] = "Entering", e[e.Present = 1] = "Present", e[e.Exiting = 2] = "Exiting"
  }(Ec || (Ec = {})), function (e) {
    e[e.Hide = 0] = "Hide", e[e.Show = 1] = "Show"
  }(Tc || (Tc = {}));
  var Lc = {
    measureLayout: function (e) {
      return e.measureLayout()
    }, layoutReady: function (e) {
      return e.layoutReady()
    }
  }, Ac = function (e, t) {
    return e.depth - t.depth
  };

  function Ic() {
    var e = new Set;
    return {
      add: function (t) {
        return e.add(t)
      }, flush: function (t) {
        var n = void 0 === t ? Lc : t, r = n.measureLayout, i = n.layoutReady, o = Array.from(e).sort(Ac);
        o.forEach((function (e) {
          return e.resetTransform()
        })), o.forEach(r), o.forEach(i), o.forEach((function (e) {
          e.isPresent && (e.presence = Ec.Present)
        })), e.clear()
      }
    }
  }

  function Fc(e) {
    return !!e.forceUpdate
  }

  var Pc = Object(r.createContext)(Ic()), Bc = Object(r.createContext)(Ic()),
    Rc = "undefined" != typeof window ? r.useLayoutEffect : r.useEffect;

  function zc() {
    var e = Object(r.useContext)(pc);
    if (null === e) return [!0, null];
    var t = e.isPresent, n = e.onExitComplete, i = e.register, o = Vc();
    Object(r.useEffect)((function () {
      return i(o)
    }), []);
    return !t && n ? [!1, function () {
      return null == n ? void 0 : n(o)
    }] : [!0]
  }

  function _c(e) {
    return null === e || e.isPresent
  }

  var Nc = 0, Uc = function () {
    return Nc++
  }, Vc = function () {
    return tc(Uc)
  };

  function Hc(e, t) {
    void 0 === t && (t = !1);
    var n = Object(r.useRef)(!0);
    (!t || t && n.current) && e(), n.current = !1
  }

  function $c(e) {
    return "string" == typeof e || Array.isArray(e)
  }

  function Wc(e) {
    return "object" == typeof e && "function" == typeof e.start
  }

  function Zc(e, t) {
    var n = t.defaultFeatures, i = t.useVisualElement, o = t.render;
    return Object(r.forwardRef)((function (t, a) {
      var l = Object(r.useContext)(jc).isStatic, u = i(e, t, l, a);
      !function (e, t) {
        var n = tc(Oc);
        for (var r in n) {
          var i = Cc(r, t), o = void 0 !== t[r], a = t.style && void 0 !== t.style[r], l = o && xc(t[r]),
            u = a && xc(t.style[r]);
          (i && !o && !a || !i && !l && !u) && (e.removeValue(r), delete n[r])
        }
        Sc(e, n, t, !1, t), t.style && Sc(e, n, t.style, !0, t), t.transformValues && (e.reactStyle = t.transformValues(e.reactStyle))
      }(u, t);
      var s = function (e, t, n) {
        var i, o, a = t.variants, l = t.initial, u = t.animate, s = t.whileTap, c = t.whileHover, f = mc(),
          d = f.parent, h = f.initial, p = f.animate, v = Object(r.useContext)(pc),
          m = $c(u) || $c(s) || $c(c) || Wc(u), b = a || m;
        !1 !== (l = null !== (i = null == v ? void 0 : v.initial) && void 0 !== i ? i : l) || Wc(u) || (l = u);
        var g = Object(r.useMemo)((function () {
          return { parent: b ? e : d, initial: $c(l) ? l : h, animate: $c(u) ? u : p }
        }), [n ? l : null]);
        return Hc((function () {
          var t = l || h;
          t && Nu(e, t)
        }), !n), b && !m && (null == d || d.addVariantChild(e)), _c(v) && (null === (o = e.variantChildrenOrder) || void 0 === o || o.clear()), Object(r.useEffect)((function () {
          b && (null == d || d.addVariantChildOrder(e))
        })), Object(r.useEffect)((function () {
          return e.isMounted = !0, function () {
            var t;
            e.isMounted = !1, null === (t = null == d ? void 0 : d.variantChildren) || void 0 === t || t.delete(e)
          }
        }), []), Hc((function () {
          e.forEachValue((function (t, n) {
            e.baseTarget[n] = t.get()
          }))
        }), !0), g
      }(u, t, l), c = function (e, t, n, i) {
        var o = Object(r.useContext)(jc);
        if (t || "undefined" == typeof window) return null;
        for (var a = na(e, o.features), l = a.length, u = [], s = 0; s < l; s++) {
          var c = a[s], f = c.shouldRender, d = c.key, h = c.getComponent;
          if (f(i)) {
            var p = h(i);
            p && u.push(Object(r.createElement)(p, Jo({ key: d }, i, { visualElement: n, inherit: Dc(i) })))
          }
        }
        return u
      }(n, l, u, t), f = Object(r.useMemo)((function () {
        return { visualElement: u, variantContext: s }
      }), [u, s]), d = o(e, t, u);
      return function (e) {
        var t = Object(r.useContext)(Pc), n = Object(r.useContext)(Bc);
        Rc((function () {
          return function () {
            Fc(t) && t.remove(e), Fc(n) && n.remove(e)
          }
        }), [])
      }(u), Object(r.createElement)(r.Fragment, null, Object(r.createElement)(vc.Provider, { value: f }, d), c)
    }))
  }

  function qc(e) {
    var t = null;
    return function () {
      return null === t && (t = e, function () {
        t = null
      })
    }
  }

  var Xc = qc("dragHorizontal"), Yc = qc("dragVertical");

  function Gc(e) {
    var t = !1;
    if ("y" === e) t = Yc(); else if ("x" === e) t = Xc(); else {
      var n = Xc(), r = Yc();
      n && r ? t = function () {
        n(), r()
      } : (n && n(), r && r())
    }
    return t
  }

  function Kc(e, t, n, r) {
    return e.addEventListener(t, n, r), function () {
      return e.removeEventListener(t, n, r)
    }
  }

  function Jc(e) {
    return "undefined" != typeof PointerEvent && e instanceof PointerEvent ? !("mouse" !== e.pointerType) : e instanceof MouseEvent
  }

  function Qc(e) {
    return !!e.touches
  }

  var ef = { pageX: 0, pageY: 0 };

  function tf(e, t) {
    void 0 === t && (t = "page");
    var n = e.touches[0] || e.changedTouches[0] || ef;
    return { x: n[t + "X"], y: n[t + "Y"] }
  }

  function nf(e, t) {
    return void 0 === t && (t = "page"), { x: e[t + "X"], y: e[t + "Y"] }
  }

  function rf(e, t) {
    return void 0 === t && (t = "page"), { point: Qc(e) ? tf(e, t) : nf(e, t) }
  }

  function of(e) {
    return rf(e, "client")
  }

  var af = function (e, t) {
    void 0 === t && (t = !1);
    var n, r = function (t) {
      return e(t, rf(t))
    };
    return t ? (n = r, function (e) {
      var t = e instanceof MouseEvent;
      (!t || t && 0 === e.button) && n(e)
    }) : r
  }, lf = "undefined" != typeof window, uf = {
    pointerdown: "mousedown",
    pointermove: "mousemove",
    pointerup: "mouseup",
    pointercancel: "mousecancel",
    pointerover: "mouseover",
    pointerout: "mouseout",
    pointerenter: "mouseenter",
    pointerleave: "mouseleave"
  }, sf = { pointerdown: "touchstart", pointermove: "touchmove", pointerup: "touchend", pointercancel: "touchcancel" };

  function cf(e) {
    return lf && null === window.onpointerdown ? e : lf && null === window.ontouchstart ? sf[e] : lf && null === window.onmousedown ? uf[e] : e
  }

  function ff(e, t, n, r) {
    return Kc(e, cf(t), af(n, "pointerdown" === t), r)
  }

  function df(e, t, n, i) {
    return function (e, t, n, i) {
      Object(r.useEffect)((function () {
        var r = e.current;
        if (n && r) return Kc(r, t, n, i)
      }), [e, t, n, i])
    }(e, cf(t), n && af(n, "pointerdown" === t), i)
  }

  var hf = function () {
    function e(e, t, n) {
      var r = this, i = (void 0 === n ? {} : n).transformPagePoint;
      if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.updatePoint = function () {
        if (r.lastMoveEvent && r.lastMoveEventInfo) {
          var e = mf(r.lastMoveEventInfo, r.history), t = null !== r.startEvent,
            n = Jl(e.offset, { x: 0, y: 0 }) >= 3;
          if (t || n) {
            var i = e.point, o = ya().timestamp;
            r.history.push(Jo(Jo({}, i), { timestamp: o }));
            var a = r.handlers, l = a.onStart, u = a.onMove;
            t || (l && l(r.lastMoveEvent, e), r.startEvent = r.lastMoveEvent), u && u(r.lastMoveEvent, e)
          }
        }
      }, this.handlePointerMove = function (e, t) {
        r.lastMoveEvent = e, r.lastMoveEventInfo = pf(t, r.transformPagePoint), Jc(e) && 0 === e.buttons ? r.handlePointerUp(e, t) : wa.update(r.updatePoint, !0)
      }, this.handlePointerUp = function (e, t) {
        r.end();
        var n = r.handlers.onEnd;
        if (n) {
          var i = mf(pf(t, r.transformPagePoint), r.history);
          n && n(e, i)
        }
      }, !(Qc(e) && e.touches.length > 1)) {
        this.handlers = t, this.transformPagePoint = i;
        var o = pf(rf(e), this.transformPagePoint), a = o.point, l = ya().timestamp;
        this.history = [Jo(Jo({}, a), { timestamp: l })];
        var u = t.onSessionStart;
        u && u(e, mf(o, this.history)), this.removeListeners = pl(ff(window, "pointermove", this.handlePointerMove), ff(window, "pointerup", this.handlePointerUp), ff(window, "pointercancel", this.handlePointerUp))
      }
    }

    return e.prototype.updateHandlers = function (e) {
      this.handlers = e
    }, e.prototype.end = function () {
      this.removeListeners && this.removeListeners(), pa.update(this.updatePoint)
    }, e
  }();

  function pf(e, t) {
    return t ? { point: t(e.point) } : e
  }

  function vf(e, t) {
    return { x: e.x - t.x, y: e.y - t.y }
  }

  function mf(e, t) {
    var n = e.point;
    return { point: n, delta: vf(n, gf(t)), offset: vf(n, bf(t)), velocity: yf(t, .1) }
  }

  function bf(e) {
    return e[0]
  }

  function gf(e) {
    return e[e.length - 1]
  }

  function yf(e, t) {
    if (e.length < 2) return { x: 0, y: 0 };
    for (var n = e.length - 1, r = null, i = gf(e); n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > cu(t)));) n--;
    if (!r) return { x: 0, y: 0 };
    var o = (i.timestamp - r.timestamp) / 1e3;
    if (0 === o) return { x: 0, y: 0 };
    var a = { x: (i.x - r.x) / o, y: (i.y - r.y) / o };
    return a.x === 1 / 0 && (a.x = 0), a.y === 1 / 0 && (a.y = 0), a
  }

  function wf(e, t, n) {
    var r = t.min, i = t.max;
    return void 0 !== r && e < r ? e = n ? al(r, e, n) : Math.max(e, r) : void 0 !== i && e > i && (e = n ? al(i, e, n) : Math.min(e, i)), e
  }

  function kf(e, t, n) {
    return { min: void 0 !== t ? e.min + t : void 0, max: void 0 !== n ? e.max + n - (e.max - e.min) : void 0 }
  }

  function xf(e, t) {
    var n, r = t.min - e.min, i = t.max - e.max;
    return t.max - t.min < e.max - e.min && (r = (n = ta([i, r], 2))[0], i = n[1]), { min: e.min + r, max: e.min + i }
  }

  var Cf, Sf = new WeakMap, Ef = function () {
    function e(e) {
      var t = e.visualElement;
      this.isDragging = !1, this.currentDirection = null, this.constraints = !1, this.props = {}, this.hasMutatedConstraints = !1, this.cursorProgress = {
        x: .5,
        y: .5
      }, this.originPoint = {}, this.openGlobalLock = null, this.panSession = null, this.visualElement = t, this.visualElement.enableLayoutProjection(), Sf.set(t, this)
    }

    return e.prototype.start = function (e, t) {
      var n = this, r = void 0 === t ? {} : t, i = r.snapToCursor, o = void 0 !== i && i, a = r.cursorProgress;
      o && this.snapToCursor(e);
      var l = this.props.transformPagePoint;
      this.panSession = new hf(e, {
        onSessionStart: function () {
          n.stopMotion()
        }, onStart: function (e, t) {
          var r, i, o = n.props, l = o.drag, u = o.dragPropagation;
          if (!l || u || (n.openGlobalLock && n.openGlobalLock(), n.openGlobalLock = Gc(l), n.openGlobalLock)) {
            n.prepareBoundingBox(), n.visualElement.lockTargetBox(), n.resolveDragConstraints();
            var s = of(e).point;
            zs((function (e) {
              var t = n.visualElement.targetBox[e], r = t.min, i = t.max;
              n.cursorProgress[e] = a ? a[e] : ol(r, i, s[e]);
              var o = n.getAxisMotionValue(e);
              o && (n.originPoint[e] = o.get())
            })), n.isDragging = !0, n.currentDirection = null, null === (i = (r = n.props).onDragStart) || void 0 === i || i.call(r, e, t)
          }
        }, onMove: function (e, t) {
          var r, i, o, a, l = n.props, u = l.dragPropagation, s = l.dragDirectionLock;
          if (u || n.openGlobalLock) {
            var c = t.offset;
            if (s && null === n.currentDirection) return n.currentDirection = function (e, t) {
              void 0 === t && (t = 10);
              var n = null;
              Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x");
              return n
            }(c), void (null !== n.currentDirection && (null === (i = (r = n.props).onDirectionLock) || void 0 === i || i.call(r, n.currentDirection)));
            n.updateAxis("x", e, c), n.updateAxis("y", e, c), null === (a = (o = n.props).onDrag) || void 0 === a || a.call(o, e, t), Cf = e
          }
        }, onEnd: function (e, t) {
          return n.stop(e, t)
        }
      }, { transformPagePoint: l })
    }, e.prototype.prepareBoundingBox = function () {
      var e = this.visualElement.getInstance(), t = e.style.transform;
      this.visualElement.resetTransform(), this.visualElement.measureLayout(), e.style.transform = t, this.visualElement.rebaseTargetBox(!0, this.visualElement.getBoundingBoxWithoutTransforms())
    }, e.prototype.resolveDragConstraints = function () {
      var e, t, n, r, i, o, a = this, l = this.props.dragConstraints;
      this.constraints = !!l && (au(l) ? this.resolveRefConstraints(this.visualElement.box, l) : (e = this.visualElement.box, n = (t = l).top, r = t.left, i = t.bottom, o = t.right, {
        x: kf(e.x, r, o),
        y: kf(e.y, n, i)
      })), this.constraints && !this.hasMutatedConstraints && zs((function (e) {
        var t, n, r;
        a.getAxisMotionValue(e) && (a.constraints[e] = (t = a.visualElement.box[e], n = a.constraints[e], r = {}, void 0 !== n.min && (r.min = n.min - t.min), void 0 !== n.max && (r.max = n.max - t.min), r))
      }))
    }, e.prototype.resolveRefConstraints = function (e, t) {
      var n = this.props, r = n.onMeasureDragConstraints, i = n.transformPagePoint, o = t.current;
      this.constraintsBox = _s(o, i);
      var a = function (e, t) {
        return { x: xf(e.x, t.x), y: xf(e.y, t.y) }
      }(e, this.constraintsBox);
      if (r) {
        var l = r(function (e) {
          var t = e.x, n = e.y;
          return { top: n.min, bottom: n.max, left: t.min, right: t.max }
        }(a));
        this.hasMutatedConstraints = !!l, l && (a = Qu(l))
      }
      return a
    }, e.prototype.cancelDrag = function () {
      this.isDragging = !1, this.panSession && this.panSession.end(), this.panSession = null, !this.props.dragPropagation && this.openGlobalLock && (this.openGlobalLock(), this.openGlobalLock = null)
    }, e.prototype.stop = function (e, t) {
      var n;
      this.visualElement.unlockTargetBox(), null === (n = this.panSession) || void 0 === n || n.end(), this.panSession = null;
      var r = this.isDragging;
      if (this.cancelDrag(), r) {
        var i = this.props, o = i.dragMomentum, a = i.dragElastic, l = i.onDragEnd;
        if (o || a) {
          var u = t.velocity;
          this.animateDragEnd(u)
        }
        null == l || l(e, t)
      }
    }, e.prototype.snapToCursor = function (e) {
      var t = this;
      this.prepareBoundingBox(), zs((function (n) {
        var r = t.getAxisMotionValue(n);
        if (r) {
          var i = of(e).point, o = t.visualElement.box, a = o[n].max - o[n].min, l = o[n].min + a / 2,
            u = i[n] - l;
          t.originPoint[n] = i[n], r.set(u)
        } else t.cursorProgress[n] = .5, t.updateVisualElementAxis(n, e)
      }))
    }, e.prototype.updateAxis = function (e, t, n) {
      if (Tf(e, this.props.drag, this.currentDirection)) return this.getAxisMotionValue(e) ? this.updateAxisMotionValue(e, n) : this.updateVisualElementAxis(e, t)
    }, e.prototype.updateAxisMotionValue = function (e, t) {
      var n = this.getAxisMotionValue(e);
      if (t && n) {
        var r = this.props.dragElastic, i = this.originPoint[e] + t[e],
          o = this.constraints ? wf(i, this.constraints[e], r) : i;
        n.set(o)
      }
    }, e.prototype.updateVisualElementAxis = function (e, t) {
      var n, r = this.props.dragElastic, i = this.visualElement.box[e], o = i.max - i.min,
        a = this.cursorProgress[e], l = function (e, t, n, r, i) {
          var o = e - t * n;
          return r ? wf(o, r, i) : o
        }(of(t).point[e], o, a, null === (n = this.constraints) || void 0 === n ? void 0 : n[e], r);
      this.visualElement.setAxisTarget(e, l, l + o)
    }, e.prototype.updateProps = function (e) {
      var t = e.drag, n = void 0 !== t && t, r = e.dragDirectionLock, i = void 0 !== r && r,
        o = e.dragPropagation, a = void 0 !== o && o, l = e.dragConstraints, u = void 0 !== l && l,
        s = e.dragElastic, c = void 0 === s ? .35 : s, f = e.dragMomentum, d = void 0 === f || f,
        h = Qo(e, ["drag", "dragDirectionLock", "dragPropagation", "dragConstraints", "dragElastic", "dragMomentum"]);
      this.props = Jo({
        drag: n,
        dragDirectionLock: i,
        dragPropagation: a,
        dragConstraints: u,
        dragElastic: c,
        dragMomentum: d
      }, h)
    }, e.prototype.getAxisMotionValue = function (e) {
      var t = this.props, n = t.layout, r = t.layoutId, i = "_drag" + e.toUpperCase();
      return this.props[i] ? this.props[i] : n || void 0 !== r ? void 0 : this.visualElement.getValue(e, 0)
    }, e.prototype.animateDragEnd = function (e) {
      var t = this, n = this.props, r = n.drag, i = n.dragMomentum, o = n.dragElastic, a = n.dragTransition,
        l = zs((function (n) {
          if (Tf(n, r, t.currentDirection)) {
            var l = t.constraints ? t.constraints[n] : {}, u = o ? 200 : 1e6, s = o ? 40 : 1e7, c = Jo(Jo({
              type: "inertia",
              velocity: i ? e[n] : 0,
              bounceStiffness: u,
              bounceDamping: s,
              timeConstant: 750,
              restDelta: 1,
              restSpeed: 10
            }, a), l);
            return t.getAxisMotionValue(n) ? t.startAxisValueAnimation(n, c) : t.visualElement.startLayoutAxisAnimation(n, c)
          }
        }));
      return Promise.all(l).then((function () {
        var e, n;
        null === (n = (e = t.props).onDragTransitionEnd) || void 0 === n || n.call(e)
      }))
    }, e.prototype.stopMotion = function () {
      var e = this;
      zs((function (t) {
        var n = e.getAxisMotionValue(t);
        n ? n.stop() : e.visualElement.stopLayoutAnimation()
      }))
    }, e.prototype.startAxisValueAnimation = function (e, t) {
      var n = this.getAxisMotionValue(e);
      if (n) {
        var r = n.get();
        return n.set(r), n.set(r), Cu(e, n, 0, t)
      }
    }, e.prototype.scalePoint = function () {
      var e = this, t = this.props, n = t.drag, r = t.dragConstraints;
      if (au(r) && this.constraintsBox) {
        this.stopMotion();
        var i = { x: 0, y: 0 };
        zs((function (t) {
          i[t] = Ps(e.visualElement.targetBox[t], e.constraintsBox[t])
        })), this.prepareBoundingBox(), this.resolveDragConstraints(), zs((function (t) {
          if (Tf(t, n, null)) {
            var r = function (e, t, n) {
              var r = e.max - e.min, i = al(t.min, t.max - r, n);
              return { min: i, max: i + r }
            }(e.visualElement.targetBox[t], e.constraintsBox[t], i[t]), o = r.min, a = r.max;
            e.visualElement.setAxisTarget(t, o, a)
          }
        }))
      }
    }, e.prototype.mount = function (e) {
      var t = this, n = ff(e.getInstance(), "pointerdown", (function (e) {
        var n = t.props, r = n.drag, i = n.dragListener;
        r && (void 0 === i || i) && t.start(e)
      })), r = Kc(window, "resize", (function () {
        t.scalePoint()
      })), i = e.onLayoutUpdate((function () {
        t.isDragging && t.resolveDragConstraints()
      })), o = e.prevSnapshot;
      return (null == o ? void 0 : o.isDragging) && this.start(Cf, { cursorProgress: o.cursorProgress }), function () {
        null == n || n(), null == r || r(), null == i || i(), t.cancelDrag()
      }
    }, e
  }();

  function Tf(e, t, n) {
    return !(!0 !== t && t !== e || null !== n && n !== e)
  }

  var Mf = function (e) {
    return function (t) {
      return e(t), null
    }
  }, Of = Mf((function (e) {
    var t = e.visualElement;
    return function (e, t) {
      var n = e.dragControls, i = Object(r.useContext)(jc).transformPagePoint, o = tc((function () {
        return new Ef({ visualElement: t })
      }));
      o.updateProps(Jo(Jo({}, e), { transformPagePoint: i })), Object(r.useEffect)((function () {
        return n && n.subscribe(o)
      }), [o]), Object(r.useEffect)((function () {
        return o.mount(t)
      }), [])
    }(Qo(e, ["visualElement"]), t)
  })), jf = {
    key: "drag", shouldRender: function (e) {
      return !!e.drag || !!e.dragControls
    }, getComponent: function () {
      return Of
    }
  };

  function Df(e) {
    return Object(r.useEffect)((function () {
      return function () {
        return e()
      }
    }), [])
  }

  var Lf = function (e, t) {
    return !!t && (e === t || Lf(e, t.parentElement))
  }, Af = ["whileHover", "whileTap", "whileDrag"], If = function (e) {
    return Af.indexOf(e) + 1
  }, Ff = If("whileTap");
  var Pf = If("whileHover"), Bf = function (e) {
    return function (t, n) {
      Jc(t) && e(t, n)
    }
  };

  function Rf(e, t) {
    var n, i, o, a, l, u, s, c, f, d;
    i = t, o = (n = e).onPan, a = n.onPanStart, l = n.onPanEnd, u = n.onPanSessionStart, s = o || a || l || u, c = Object(r.useRef)(null), f = Object(r.useContext)(jc).transformPagePoint, d = {
      onSessionStart: u,
      onStart: a,
      onMove: o,
      onEnd: function (e, t) {
        c.current = null, l && l(e, t)
      }
    }, Object(r.useEffect)((function () {
      null !== c.current && c.current.updateHandlers(d)
    })), df(i, "pointerdown", s && function (e) {
      c.current = new hf(e, d, { transformPagePoint: f })
    }), Df((function () {
      return c.current && c.current.end()
    })), function (e, t) {
      var n = e.onTap, i = e.onTapStart, o = e.onTapCancel, a = e.whileTap, l = n || i || o || a,
        u = Object(r.useRef)(!1), s = Object(r.useRef)(null);

      function c() {
        var e;
        null === (e = s.current) || void 0 === e || e.call(s), s.current = null
      }

      a && qu(t, a, Ff);
      var f = Object(r.useRef)(null);
      f.current = function (e, r) {
        var i = t.getInstance();
        if (c(), u.current && i) {
          u.current = !1, a && Yu(t, Ff);
          var l = Gc(!0);
          l && (l(), Lf(i, e.target) ? null == n || n(e, r) : null == o || o(e, r))
        }
      }, df(t, "pointerdown", l ? function (e, n) {
        c(), s.current = pl(ff(window, "pointerup", (function (e, t) {
          var n;
          return null === (n = f.current) || void 0 === n ? void 0 : n.call(f, e, t)
        })), ff(window, "pointercancel", (function (e, t) {
          var n;
          return null === (n = f.current) || void 0 === n ? void 0 : n.call(f, e, t)
        }))), t.getInstance() && !u.current && (u.current = !0, null == i || i(e, n), a && Xu(t, Ff))
      } : void 0), Df(c)
    }(e, t), function (e, t) {
      var n = e.whileHover, r = e.onHoverStart, i = e.onHoverEnd;
      n && qu(t, n, Pf), df(t, "pointerenter", Bf((function (e, i) {
        null == r || r(e, i), n && Xu(t, Pf)
      }))), df(t, "pointerleave", Bf((function (e, r) {
        null == i || i(e, r), n && Yu(t, Pf)
      })))
    }(e, t)
  }

  var zf = ["onPan", "onPanStart", "onPanEnd", "onPanSessionStart", "onTap", "onTapStart", "onTapCancel", "whileTap", "whileHover", "onHoverStart", "onHoverEnd"],
    _f = Mf((function (e) {
      var t = e.visualElement;
      Rf(Qo(e, ["visualElement"]), t)
    })), Nf = {
      key: "gestures", shouldRender: function (e) {
        return zf.some((function (t) {
          return e.hasOwnProperty(t)
        }))
      }, getComponent: function () {
        return _f
      }
    }, Uf = function () {
      function e() {
        this.hasMounted = !1, this.pendingAnimations = [], this.subscribers = new Set
      }

      return e.prototype.subscribe = function (e) {
        var t = this;
        return this.subscribers.add(e), function () {
          return t.subscribers.delete(e)
        }
      }, e.prototype.start = function (e, t) {
        var n = this;
        if (this.hasMounted) {
          var r = [];
          return this.subscribers.forEach((function (n) {
            var i = $u(n, e, { transitionOverride: t });
            r.push(i)
          })), Promise.all(r)
        }
        return new Promise((function (r) {
          n.pendingAnimations.push({ animation: [e, t], resolve: r })
        }))
      }, e.prototype.set = function (e) {
        return this.hasMounted, this.subscribers.forEach((function (t) {
          Nu(t, e)
        }))
      }, e.prototype.stop = function () {
        this.subscribers.forEach((function (e) {
          !function (e) {
            e.forEachValue((function (e) {
              return e.stop()
            }))
          }(e)
        }))
      }, e.prototype.mount = function () {
        var e = this;
        this.hasMounted = !0, this.pendingAnimations.forEach((function (t) {
          var n = t.animation, r = t.resolve;
          e.start.apply(e, na(n)).then(r)
        }))
      }, e.prototype.unmount = function () {
        this.hasMounted = !1, this.stop()
      }, e
    }(), Vf = Mf((function (e) {
      var t = e.animate, n = e.exit, i = e.visualElement, o = ta(zc(), 2), a = o[0], l = o[1],
        u = Object(r.useContext)(pc), s = Object(r.useRef)(!1),
        c = void 0 !== (null == u ? void 0 : u.custom) ? u.custom : e.custom;
      Object(r.useEffect)((function () {
        a ? !s.current || !t || "boolean" == typeof t || t instanceof Uf || $u(i, t) : (!s.current && n && $u(i, n, { custom: c }).then(l), s.current = !0), a && (s.current = !1)
      }), [t, c, n, a, l, e])
    })), Hf = {
      key: "exit", shouldRender: function (e) {
        return !!e.exit && !Dc(e)
      }, getComponent: function () {
        return Vf
      }
    };

  function $f(e, t) {
    void 0 === t && (t = !1);
    e.transition;
    var n = e.transitionEnd, r = Qo(e, ["transition", "transitionEnd"]);
    return t ? Jo(Jo({}, r), n) : r
  }

  var Wf = function (e) {
    var t, n = e instanceof uu ? e.get() : e;
    return Array.from(new Set((t = n) ? Array.isArray(t) ? t : [t] : []))
  };
  var Zf = {
    shouldRender: function (e) {
      return void 0 !== e.animate && !Pu(e.animate) && !Wc(e.animate)
    }, Component: Mf((function (e) {
      var t = e.animate;
      return function (e, t, n) {
        var i = Object(r.useRef)(!0), o = Object(r.useRef)(null);
        o.current || (o.current = $f(t, !0)), Object(r.useEffect)((function () {
          var r, a, l = {}, u = $f(t), s = $f(t, !0);
          for (var c in u) {
            var f = i.current && (!e.hasValue(c) || e.getValue(c).get() !== s[c]), d = null !== s[c],
              h = (r = o.current[c], void 0 !== (a = s[c]) && (Array.isArray(r) && Array.isArray(a) ? !function (e, t) {
                if (null === t) return !1;
                var n = t.length;
                if (n !== e.length) return !1;
                for (var r = 0; r < n; r++) if (t[r] !== e[r]) return !1;
                return !0
              }(a, r) : r !== a));
            d && (h || f) && (l[c] = u[c])
          }
          i.current = !1, o.current = Jo(Jo({}, o.current), s), Object.keys(l).length && $u(e, Jo(Jo({}, l), {
            transition: t.transition || n,
            transitionEnd: t.transitionEnd
          }))
        }), [t])
      }(e.visualElement, t, e.transition)
    }))
  }, qf = {
    shouldRender: function (e) {
      return e.variants && !Wc(e.animate) || Pu(e.animate)
    }, Component: Mf((function (e) {
      var t = e.animate, n = e.inherit, i = void 0 === n || n;
      return function (e, t, n, i) {
        var o, a = Wf(n), l = mc(), u = null === (o = l.parent) || void 0 === o ? void 0 : o.isMounted,
          s = Object(r.useRef)(!1);
        Object(r.useEffect)((function () {
          var n, r, o = !1;
          i ? (o = !!u, a = Wf(l.animate)) : o = s.current || (n = Wf(t), r = a, n.join(",") !== r.join(",")), o && $u(e, a), s.current = !0
        }), [a.join(",")])
      }(e.visualElement, e.initial, t, i)
    }))
  }, Xf = {
    shouldRender: function (e) {
      return Wc(e.animate)
    }, Component: Mf((function (e) {
      var t = e.animate;
      return function (e, t) {
        var n = Object(r.useMemo)((function () {
          return t.subscribe(e)
        }), [t]);
        Df((function () {
          return null == n ? void 0 : n()
        }))
      }(e.visualElement, t)
    }))
  }, Yf = {
    key: "animation", shouldRender: function () {
      return !0
    }, getComponent: function (e) {
      return Zf.shouldRender(e) ? Zf.Component : qf.shouldRender(e) ? qf.Component : Xf.shouldRender(e) ? Xf.Component : void 0
    }
  };
  var Gf = function (e) {
    function t() {
      var t = null !== e && e.apply(this, arguments) || this;
      return t.frameTarget = { x: { min: 0, max: 0 }, y: { min: 0, max: 0 } }, t.stopAxisAnimation = {
        x: void 0,
        y: void 0
      }, t.animate = function (e, n, r) {
        void 0 === r && (r = {});
        var i = r.originBox, o = r.targetBox, a = r.visibilityAction, l = r.shouldStackAnimate,
          u = Qo(r, ["originBox", "targetBox", "visibilityAction", "shouldStackAnimate"]), s = t.props,
          c = s.visualElement, f = s.layout;
        if (!1 === l) return t.safeToRemove();
        var d = Jf(n = i || n, e = o || e), h = zs((function (r) {
          if ("position" === f) {
            var i = e[r].max - e[r].min;
            n[r].max = n[r].min + i
          }
          if (!c.isTargetBoxLocked) return void 0 === a ? d ? t.animateAxis(r, e[r], n[r], u) : c.setAxisTarget(r, e[r].min, e[r].max) : void (a === Tc.Hide ? c.hide() : c.show())
        }));
        return c.render(), Promise.all(h).then((function () {
          var e, n;
          null === (n = (e = t.props).onLayoutAnimationComplete) || void 0 === n || n.call(e), c.isPresent ? c.presence = Ec.Present : t.safeToRemove()
        }))
      }, t
    }

    return Ko(t, e), t.prototype.componentDidMount = function () {
      var e = this, t = this.props.visualElement;
      t.animateMotionValue = Cu, t.enableLayoutProjection(), this.unsubLayoutReady = t.onLayoutUpdate(this.animate), t.updateConfig(Jo(Jo({}, t.config), {
        safeToRemove: function () {
          return e.safeToRemove()
        }
      }))
    }, t.prototype.componentWillUnmount = function () {
      var e = this;
      this.unsubLayoutReady(), zs((function (t) {
        var n, r;
        return null === (r = (n = e.stopAxisAnimation)[t]) || void 0 === r ? void 0 : r.call(n)
      }))
    }, t.prototype.animateAxis = function (e, t, n, r) {
      var i, o, a = void 0 === r ? {} : r, l = a.transition, u = a.crossfadeOpacity;
      null === (o = (i = this.stopAxisAnimation)[e]) || void 0 === o || o.call(i);
      var s, c = this.props.visualElement, f = this.frameTarget[e], d = c.axisProgress[e];
      d.clearListeners(), d.set(0), d.set(0), u && (s = this.createCrossfadeAnimation(u), c.show());
      var h = function () {
        var r = d.get() / 1e3;
        !function (e, t, n, r) {
          e.min = al(t.min, n.min, r), e.max = al(t.max, n.max, r)
        }(f, n, t, r), c.setAxisTarget(e, f.min, f.max), null == s || s(r)
      };
      h(), c.updateLayoutDelta();
      var p = d.onChange(h),
        v = Cu("x" === e ? "layoutX" : "layoutY", d, 1e3, l || this.props.transition || ed).then(p);
      return this.stopAxisAnimation[e] = function () {
        d.stop(), p()
      }, v
    }, t.prototype.createCrossfadeAnimation = function (e) {
      var t = this.props.visualElement.getValue("opacity", 0);
      return function (n) {
        t.set(nd(al(0, 1, n))), e.set(rd(al(1, 0, n)))
      }
    }, t.prototype.safeToRemove = function () {
      var e, t;
      null === (t = (e = this.props).safeToRemove) || void 0 === t || t.call(e)
    }, t.prototype.render = function () {
      return null
    }, t
  }(r.Component);

  function Kf(e) {
    var t = ta(zc(), 2)[1];
    return Object(r.createElement)(Gf, Jo({}, e, { safeToRemove: t }))
  }

  function Jf(e, t) {
    return Qf(e.x, t.x) || Qf(e.y, t.y)
  }

  function Qf(e, t) {
    return e.min !== t.min || e.max !== t.max
  }

  var ed = { duration: .45, ease: [.4, 0, .1, 1] };

  function td(e, t, n) {
    return function (r) {
      return r < e ? 0 : r > t ? 1 : n(ol(e, t, r))
    }
  }

  var nd = td(0, .5, Al), rd = td(.5, .95, Ml), id = {
    key: "animate-layout", shouldRender: function (e) {
      return !!e.layout || !!e.layoutId
    }, getComponent: function () {
      return Kf
    }
  }, od = function (e) {
    function t() {
      return null !== e && e.apply(this, arguments) || this
    }

    return Ko(t, e), t.prototype.componentDidMount = function () {
      var e = this.props, t = e.syncLayout, n = e.framerSyncLayout, r = e.visualElement;
      Fc(t) && t.register(r), Fc(n) && n.register(r)
    }, t.prototype.getSnapshotBeforeUpdate = function () {
      var e = this.props, t = e.syncLayout, n = e.visualElement;
      return Fc(t) ? t.syncUpdate() : (n.snapshotBoundingBox(), t.add(n)), null
    }, t.prototype.componentDidUpdate = function () {
      var e = this.props, t = e.syncLayout, n = e.visualElement;
      Fc(t) || t.flush(), n.rebaseTargetBox()
    }, t.prototype.render = function () {
      return null
    }, t
  }(i.a.Component);

  function ad(e) {
    var t = Object(r.useContext)(Pc), n = Object(r.useContext)(Bc);
    return i.a.createElement(od, Jo({}, e, { syncLayout: t, framerSyncLayout: n }))
  }

  var ld = {
    key: "measure-layout", shouldRender: function (e) {
      return !!e.drag || !!e.layout || !!e.layoutId
    }, getComponent: function () {
      return ad
    }
  }, ud = [ld, Yf, jf, Nf, Hf, id], sd = {
    useVisualElement: function (e, t, n, i) {
      var o = bc(), a = tc((function () {
        return new (hc(e) ? fc : Qs)(o, i)
      }));
      a.updateConfig(Jo(Jo(Jo({}, a.config), { enableHardwareAcceleration: !n }), t)), a.layoutId = t.layoutId;
      var l = Object(r.useContext)(pc), u = null === l || l.isPresent;
      a.isPresent = void 0 !== t.isPresent ? t.isPresent : u;
      var s = null == l ? void 0 : l.id;
      return a.isPresenceRoot = !o || o.presenceId !== s, Object(r.useEffect)((function () {
        if (t.onViewportBoxUpdate) return a.onViewportBoxUpdate(t.onViewportBoxUpdate)
      }), [t.onViewportBoxUpdate]), a
    }, render: function (e, t, n) {
      var i = "string" == typeof e ? function (e) {
        var t = {};
        for (var n in e) wc(n) && (t[n] = e[n]);
        return t
      }(t) : t;
            /**
             * Every render, empty and rebuild the animated values to be applied to our Element.
             * During animation these data structures are used in a mutable fashion to reduce
             * garbage collection, but between renders we can flush them to remove values
             * that might have been taken out of the provided props.
             */n.clean(), n.build();
      var o = hc(e) ? function (e) {
        return Jo(Jo({}, e.attrs), { style: Jo({}, e.reactStyle) })
      }(n) : function (e, t) {
        var n = t.drag, r = { style: Jo(Jo(Jo({}, e.reactStyle), e.style), e.vars) };
        return n && (r.draggable = !1, r.style.userSelect = "none", r.style.touchAction = !0 === n ? "none" : "pan-" + ("x" === n ? "y" : "x")), r
      }(n, t);
      return Object(r.createElement)(e, Jo(Jo(Jo({}, i), { ref: n.ref }), o))
    }
  };

  function cd(e) {
    var t = Jo(Jo({}, sd), { defaultFeatures: e });
    var n = new Map;
    return new Proxy({
      custom: function (e) {
        return Zc(e, t)
      }
    }, {
      get: function (e, r) {
        return "custom" === r ? e.custom : (n.has(r) || n.set(r, Zc(r, t)), n.get(r))
      }
    })
  }

  var fd = cd(ud);
  var dd = 0;

  function hd() {
    var e = dd;
    return dd++, e
  }

  var pd = function (e) {
    var t = e.children, n = e.initial, i = e.isPresent, o = e.onExitComplete, a = e.custom,
      l = e.presenceAffectsLayout, u = tc(vd), s = tc(hd), c = Object(r.useMemo)((function () {
        return {
          id: s, initial: n, isPresent: i, custom: a, onExitComplete: function (e) {
            u.set(e, !0);
            var t = !0;
            u.forEach((function (e) {
              e || (t = !1)
            })), t && (null == o || o())
          }, register: function (e) {
            return u.set(e, !1), function () {
              return u.delete(e)
            }
          }
        }
      }), l ? void 0 : [i]);
    return Object(r.useMemo)((function () {
      u.forEach((function (e, t) {
        return u.set(t, !1)
      }))
    }), [i]), Object(r.createElement)(pc.Provider, { value: c }, t)
  };

  function vd() {
    return new Map
  }

  function md(e) {
    return e.key || ""
  }

  var bd = function (e) {
    var t = e.children, n = e.custom, i = e.initial, o = void 0 === i || i, a = e.onExitComplete,
      l = e.exitBeforeEnter, u = e.presenceAffectsLayout, s = void 0 === u || u, c = function () {
        var e = Object(r.useRef)(!1), t = ta(Object(r.useState)(0), 2), n = t[0], i = t[1];
        return Df((function () {
          return e.current = !0
        })), Object(r.useCallback)((function () {
          !e.current && i(n + 1)
        }), [n])
      }(), f = Object(r.useContext)(Pc);
    Fc(f) && (c = f.forceUpdate);
    var d = Object(r.useRef)(!0), h = function (e) {
      var t = [];
      return r.Children.forEach(e, (function (e) {
        Object(r.isValidElement)(e) && t.push(e)
      })), t
    }(t), p = Object(r.useRef)(h), v = Object(r.useRef)(new Map).current, m = Object(r.useRef)(new Set).current;
    if (function (e, t) {
      e.forEach((function (e) {
        var n = md(e);
        t.set(n, e)
      }))
    }(h, v), d.current) return d.current = !1, Object(r.createElement)(r.Fragment, null, h.map((function (e) {
      return Object(r.createElement)(pd, {
        key: md(e),
        isPresent: !0,
        initial: !!o && void 0,
        presenceAffectsLayout: s
      }, e)
    })));
    for (var b = na(h), g = p.current.map(md), y = h.map(md), w = g.length, k = 0; k < w; k++) {
      var x = g[k];
      -1 === y.indexOf(x) ? m.add(x) : m.delete(x)
    }
    return l && m.size && (b = []), m.forEach((function (e) {
      if (-1 === y.indexOf(e)) {
        var t = v.get(e);
        if (t) {
          var i = g.indexOf(e);
          b.splice(i, 0, Object(r.createElement)(pd, {
            key: md(t), isPresent: !1, onExitComplete: function () {
              v.delete(e), m.delete(e);
              var t = p.current.findIndex((function (t) {
                return t.key === e
              }));
              p.current.splice(t, 1), m.size || (p.current = h, c(), a && a())
            }, custom: n, presenceAffectsLayout: s
          }, t))
        }
      }
    })), b = b.map((function (e) {
      var t = e.key;
      return m.has(t) ? e : Object(r.createElement)(pd, { key: md(e), isPresent: !0, presenceAffectsLayout: s }, e)
    })), p.current = b, Object(r.createElement)(r.Fragment, null, m.size ? b : b.map((function (e) {
      return Object(r.cloneElement)(e)
    })))
  };

  function gd(e, t) {
    return t && e !== t.lead ? { visibilityAction: Tc.Hide } : t && e.presence !== Ec.Entering && e === t.lead && t.lead !== t.prevLead ? { visibilityAction: Tc.Show } : (e.presence === Ec.Entering ? n = null == t ? void 0 : t.getFollowOrigin() : e.presence === Ec.Exiting && (r = null == t ? void 0 : t.getFollowTarget()), {
      originBox: n,
      targetBox: r
    });
    var n, r
  }

  function yd(e, t) {
    var n, r, i, o = {}, a = t && t.lead, l = null == a ? void 0 : a.presence;
    return t && e === a ? e.presence === Ec.Entering ? o.originBox = t.getFollowOrigin() : e.presence === Ec.Exiting && (o.targetBox = t.getFollowTarget()) : t && e === t.follow && (o.transition = t.getLeadTransition(), l === Ec.Entering ? o.targetBox = t.getLeadTarget() : l === Ec.Exiting && (o.originBox = t.getLeadOrigin())), (null === (n = null == t ? void 0 : t.follow) || void 0 === n ? void 0 : n.isPresenceRoot) || (null == a ? void 0 : a.isPresenceRoot) ? (t && e !== a ? t && e === t.follow ? a && l !== Ec.Entering && l === Ec.Exiting && (o.crossfadeOpacity = null === (i = null == t ? void 0 : t.lead) || void 0 === i ? void 0 : i.getValue("opacity", 1)) : o.visibilityAction = Tc.Hide : e.presence === Ec.Entering && (o.crossfadeOpacity = null === (r = null == t ? void 0 : t.follow) || void 0 === r ? void 0 : r.getValue("opacity", 0)), o) : o
  }

  var wd = function () {
    function e() {
      this.order = [], this.hasChildren = !1
    }

    return e.prototype.add = function (e) {
      var t;
      if (this.order.push(e), this.snapshot) {
        e.prevSnapshot = this.snapshot, e.prevViewportBox = this.snapshot.boundingBox;
        var n = this.snapshot.latestMotionValues;
        for (var r in n) e.hasValue(r) ? null === (t = e.getValue(r)) || void 0 === t || t.set(n[r]) : e.addValue(r, su(n[r]))
      }
      this.hasChildren = !0
    }, e.prototype.remove = function (e) {
      var t = this.order.findIndex((function (t) {
        return e === t
      }));
      -1 !== t && this.order.splice(t, 1)
    }, e.prototype.updateLeadAndFollow = function () {
      this.prevLead = this.lead, this.prevFollow = this.follow;
      var e = ta(function (e, t) {
        for (var n = ta(t, 2), r = n[0], i = n[1], o = void 0, a = 0, l = void 0, u = e.length, s = !1, c = u - 1; c >= 0; c--) {
          var f = e[c];
          if (c === u - 1 && (s = f.isPresent), s) o = f; else {
            var d = e[c - 1];
            d && d.isPresent && (o = f)
          }
          if (o) {
            a = c;
            break
          }
        }
        if (o || (o = e[0]), l = e[a - 1], o) for (c = a - 1; c >= 0; c--) if ((f = e[c]).isPresent) {
          l = f;
          break
        }
        return o !== r && !s && l === i && e.find((function (e) {
          return e === r
        })) && (o = r), [o, l]
      }(this.order, [this.lead, this.follow]), 2), t = e[0], n = e[1];
      this.lead = t, this.follow = n
    }, e.prototype.updateSnapshot = function () {
      if (this.lead) {
        var e = { boundingBox: this.lead.prevViewportBox, latestMotionValues: {} };
        this.lead.forEachValue((function (t, n) {
          var r = t.get();
          us(r) || (e.latestMotionValues[n] = r)
        }));
        var t = Sf.get(this.lead);
        t && t.isDragging && (e.isDragging = !0, e.cursorProgress = t.cursorProgress), this.snapshot = e
      }
    }, e.prototype.isLeadPresent = function () {
      var e;
      return this.lead && (null === (e = this.lead) || void 0 === e ? void 0 : e.presence) !== Ec.Exiting
    }, e.prototype.getFollowOrigin = function () {
      var e;
      return this.follow ? this.follow.prevViewportBox : null === (e = this.snapshot) || void 0 === e ? void 0 : e.boundingBox
    }, e.prototype.getFollowTarget = function () {
      var e;
      return null === (e = this.follow) || void 0 === e ? void 0 : e.box
    }, e.prototype.getLeadOrigin = function () {
      var e;
      return null === (e = this.lead) || void 0 === e ? void 0 : e.prevViewportBox
    }, e.prototype.getLeadTarget = function () {
      var e;
      return null === (e = this.lead) || void 0 === e ? void 0 : e.box
    }, e.prototype.getLeadTransition = function () {
      var e;
      return null === (e = this.lead) || void 0 === e ? void 0 : e.config.transition
    }, e
  }();
  !function (e) {
    function t() {
      var t = null !== e && e.apply(this, arguments) || this;
      return t.children = new Set, t.stacks = new Map, t.hasMounted = !1, t.updateScheduled = !1, t.renderScheduled = !1, t.syncContext = Jo(Jo({}, Ic()), {
        syncUpdate: function (e) {
          return t.scheduleUpdate(e)
        }, forceUpdate: function () {
          t.syncContext = Jo({}, t.syncContext), t.scheduleUpdate(!0)
        }, register: function (e) {
          return t.addChild(e)
        }, remove: function (e) {
          return t.removeChild(e)
        }
      }), t
    }

    Ko(t, e), t.prototype.componentDidMount = function () {
      this.hasMounted = !0, this.updateStacks()
    }, t.prototype.componentDidUpdate = function () {
      this.startLayoutAnimation()
    }, t.prototype.shouldComponentUpdate = function () {
      return this.renderScheduled = !0, !0
    }, t.prototype.startLayoutAnimation = function () {
      var e = this;
      this.renderScheduled = this.updateScheduled = !1;
      var t = this.props.type;
      this.children.forEach((function (e) {
        e.isPresent ? e.presence !== Ec.Entering && (e.presence = e.presence === Ec.Exiting ? Ec.Entering : Ec.Present) : e.presence = Ec.Exiting
      })), this.updateStacks();
      var n = "crossfade" === t ? yd : gd, r = {
        measureLayout: function (e) {
          return e.measureLayout()
        }, layoutReady: function (t) {
          var r = t.layoutId;
          t.layoutReady(n(t, e.getStack(r)))
        }
      };
      this.children.forEach((function (t) {
        return e.syncContext.add(t)
      })), this.syncContext.flush(r), this.stacks.forEach((function (e) {
        return e.snapshot = void 0
      }))
    }, t.prototype.updateStacks = function () {
      this.stacks.forEach((function (e) {
        return e.updateLeadAndFollow()
      }))
    }, t.prototype.scheduleUpdate = function (e) {
      void 0 === e && (e = !1), !e && this.updateScheduled || (this.updateScheduled = !0, this.children.forEach((function (e) {
        return e.snapshotBoundingBox()
      })), this.stacks.forEach((function (e) {
        return e.updateSnapshot()
      })), !e && this.renderScheduled || (this.renderScheduled = !0, this.forceUpdate()))
    }, t.prototype.addChild = function (e) {
      this.children.add(e), this.addToStack(e), e.presence = this.hasMounted ? Ec.Entering : Ec.Present
    }, t.prototype.removeChild = function (e) {
      this.scheduleUpdate(), this.children.delete(e), this.removeFromStack(e)
    }, t.prototype.addToStack = function (e) {
      var t = this.getStack(e.layoutId);
      null == t || t.add(e)
    }, t.prototype.removeFromStack = function (e) {
      var t = this.getStack(e.layoutId);
      null == t || t.remove(e)
    }, t.prototype.getStack = function (e) {
      if (void 0 !== e) return !this.stacks.has(e) && this.stacks.set(e, new wd), this.stacks.get(e)
    }, t.prototype.render = function () {
      return Object(r.createElement)(Pc.Provider, { value: this.syncContext }, this.props.children)
    }
  }(r.Component);

  function kd() {
    return { scrollX: su(0), scrollY: su(0), scrollXProgress: su(0), scrollYProgress: su(0) }
  }

  kd();
  var xd = su(null);
  if ("undefined" != typeof window) if (window.matchMedia) {
    var Cd = window.matchMedia("(prefers-reduced-motion)"), Sd = function () {
      return xd.set(Cd.matches)
    };
    Cd.addListener(Sd), Sd()
  } else xd.set(!1);
  !function () {
    function e() {
      this.componentControls = new Set
    }

    e.prototype.subscribe = function (e) {
      var t = this;
      return this.componentControls.add(e), function () {
        return t.componentControls.delete(e)
      }
    }, e.prototype.start = function (e, t) {
      this.componentControls.forEach((function (n) {
        n.start(e.nativeEvent || e, t)
      }))
    }, e.prototype.updateConstraints = function () {
      this.componentControls.forEach((function (e) {
        e.prepareBoundingBox(), e.resolveDragConstraints()
      }))
    }
  }();
  !function (e) {
    function t() {
      var t = null !== e && e.apply(this, arguments) || this;
      return t.initialState = {}, t
    }

    Ko(t, e), t.prototype.updateLayoutDelta = function () {
    }, t.prototype.build = function () {
    }, t.prototype.clean = function () {
    }, t.prototype.makeTargetAnimatable = function (e) {
      var t = e.transition, n = e.transitionEnd, r = Qo(e, ["transition", "transitionEnd"]);
      return Uu(this, r, Hu(r, t || {}, this)), Jo({ transition: t, transitionEnd: n }, r)
    }, t.prototype.getBoundingBox = function () {
      return { x: { min: 0, max: 0 }, y: { min: 0, max: 0 } }
    }, t.prototype.readNativeValue = function (e) {
      return this.initialState[e] || 0
    }, t.prototype.render = function () {
      this.build()
    }
  }(Ku);

  function Ed({ notifications: e, dismiss: t }) {
    return Object(r.useEffect)((() => {
      e.length > 0 ? document.body.className = "busy" : document.body.className = ""
    }), [e]), Dt("div", {
      css: e => (e => At("position:fixed;bottom:10px;right:20px;z-index:999;text-align:right;& .message{border:solid 2px ", wn(.2, e.colors.error), ";background:", e.colors.error, ";padding:20px 25px;border-radius:6px;color:", e.colors.light, ";font-weight:500;margin:10px 0;white-space:nowrap;width:auto;display:inline-block;&.save{background:", xn(.3, e.colors.warning), ";border:solid 2px ", wn(.1, e.colors.warning), ";color:", wn(.3, e.colors.warning), ";}&:empty{display:none;}& button{appearance:none;background:none;border:none;padding:5px 6px 3px;border-radius:5px;margin:0 0 0 10px;background:", e.colors.light, ";border:solid 2px ", wn(.1, e.colors.warning), ";box-shadow:0 0 0 0 ", e.colors.warning, ";& .plus{transform:rotate(45deg) translateY(-3px);}@media (hover: hover){&:hover:not([disabled]){box-shadow:0 0 0 4px ", e.colors.warning, ";}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", e.colors.warning, ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", e.colors.warning, ";}& span,a{display:inline-block;font-weight:600;}& svg{width:16px;height:16px;margin-right:6px;vertical-align:middle;transform:translateY(-2px);& polygon{fill:", e.colors.light, ";}& path[stroke]{stroke:", e.colors.light, ";}}&.save{padding:5px 8px 3px;& span{color:", e.colors.success, ";}& svg{& g{stroke:", e.colors.success, ";}}}&.delete{& span{color:", e.colors.error, ";}& svg{margin-left:-2px;& path{stroke:", e.colors.error, ";}}}&.dismiss,&.trash,&.help{padding:5px 6px 3px;border-color:", wn(.1, e.colors.error), ";box-shadow:0 0 0 0 ", wn(.2, e.colors.error), ";@media (hover: hover){&:hover:not([disabled]){box-shadow:0 0 0 4px ", wn(.2, e.colors.error), ";}}&:focus:not([disabled]){box-shadow:0 0 0 4px ", wn(.2, e.colors.error), ";}&:active:not([disabled]){box-shadow:0 0 0 2px ", wn(.2, e.colors.error), ";}& span{color:", e.colors.error, ";}& svg{margin:0 0 -1px -4px;& path{stroke:", e.colors.error, ";}}}&.trash{& svg{margin:0 5px 0 0;}}&.help{padding:0;& a{display:inline-flex;padding:4px 6px;color:", e.colors.error, ";}}}}", ""))(e)
    }, Dt(bd, {
      onExitComplete: function () {
        "undefined" != typeof window && window.scrollTo({ top: 0 })
      }
    }, e.map(((e, n) => Dt(fd.div, {
      key: n,
      style: { overflow: "hidden" },
      exit: { opacity: 0, y: 60, maxHeight: 0 },
      initial: { opacity: 0, y: 60, maxHeight: 0 },
      animate: { opacity: 1, y: 0, maxHeight: 100 }
    }, Dt("div", { className: `${e.className} message` }, e.message, e.actions.map(((n, r) => Dt("button", {
      key: r,
      className: n.id,
      onClick: () => {
        n.callback && n.callback(), t(e)
      }
    }, "dismiss" === n.id && Dt(to, null), "save" === n.id && Dt(i.a.Fragment, null, Dt(Bt, null), Dt("span", null, n.label)), "delete" === n.id && Dt(i.a.Fragment, null, Dt(to, null), Dt("span", null, n.label)), "help" === n.id && Dt("a", {
      href: n.href,
      target: "_blank",
      rel: "noreferrer"
    }, n.label), "trash" === n.id && Dt(i.a.Fragment, null, Dt(zt, null), Dt("span", null, n.label)))))))))))
  }

  var Td = { name: "1lv1yo7", styles: "display:inline-flex" };

  function Md({ children: e, inline: t = !1, justifyContent: n, className: r }) {
    return Dt("div", {
      css: e => ((e, t, n) => At("display:flex;justify-content:center;min-height:20px;", n && At("justify-content:", n, ";", ""), " ", t && Td, " & *{margin:auto 3px;}", ""))(0, t, n),
      className: r ? `flex \n      ${r}` : "flex"
    }, e)
  }

  function Od() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "19",
      height: "18",
      viewBox: "0 0 19 18"
    }, Dt("g", {
      fill: "none",
      fillRule: "evenodd",
      stroke: "#0076FF",
      strokeWidth: "2",
      transform: "translate(1 1)"
    }, Dt("path", { d: "M0,10.9 L0,5.1 C0,5.04477 0.04477,5 0.1,5 L1.95858,5 C1.9851,5 2.01054,4.98946 2.02929,4.97071 L6.82929,0.17071 C6.89229,0.10771 7,0.15233 7,0.24142 L7,15.7586 C7,15.8477 6.89229,15.8923 6.82929,15.8293 L2.02929,11.0293 C2.01054,11.0105 1.9851,11 1.95858,11 L0.1,11 C0.04477,11 0,10.9552 0,10.9 Z" }), Dt("line", {
      x1: "10.318",
      x2: "16.682",
      y1: "6.318",
      y2: "12.682"
    }), Dt("line", { x1: "9", x2: "18", y1: "7.5", y2: "7.5", transform: "rotate(-45 13.5 7.5)" })))
  }

  function jd() {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "19",
      height: "21",
      viewBox: "0 0 19 21"
    }, Dt("g", {
      fill: "none",
      fillRule: "evenodd",
      stroke: "#0076FF",
      strokeWidth: "2",
      transform: "translate(1 1)"
    }, Dt("path", { d: "M0 11.9L0 6.1C0 6.04477.04477 6 .1 6L1.95858 6C1.9851 6 2.01054 5.98946 2.02929 5.97071L6.82929 1.17071C6.89229 1.10771 7 1.15233 7 1.24142L7 16.7586C7 16.8477 6.89229 16.8923 6.82929 16.8293L2.02929 12.0293C2.01054 12.0105 1.9851 12 1.95858 12L.1 12C.04477 12 0 11.9552 0 11.9zM10.0081718 18.665393C14.0378457 17.5652001 17 13.8785242 17 9.5 17 5.11254131 14.0257446 1.4197572 9.98349046.327904346" }), Dt("path", { d: "M9.9924578,14.4041386 C11.7773948,13.4951628 13,11.6403587 13,9.5 C13,7.35786143 11.7753606,5.5017527 9.98800382,4.59359578" })))
  }

  function Dd({ hidden: e = !1 }) {
    const [t, n] = Object(r.useState)(!1);
    Object(r.useEffect)((() => {
      localStorage.getItem("cookieConsent") ? _i() : n(!0)
    }), []);
    const i = Object(r.useCallback)((() => {
      localStorage.setItem("cookieConsent", (new Date).toISOString()), _i(), n(!1)
    }), []);
    return Object(r.useEffect)((() => {
      t && e && i()
    }), [t, e, i]), Dt(Un, {
      title: "Cookie 和隐私政策",
      visible: t && !e
    }, Dt("p", null, "与大多数网站一样，我们也使用 cookie 或类似技术来存储用户偏好并改进应用程序。 我们不收集任何个人信息。", Dt("br", null), Dt("br", null), "您的视频是在您的计算机上录制和处理的，我们无权访问您的视频。使用该应用程序即表示您同意我们的.", Dt("br", null), "By using the application you agree to our", " ", Dt("a", {
      href: "#",
      rel: "noreferrer"
    }, "Privacy Policy"), "."), Dt(vi, { size: 10 }), Dt(Gn, { onClick: i }, "OK"))
  }

  var Ld = {
    name: "useqt4",
    styles: "transform:translate3d(0, 0, 0) translate(-50%, -50%) translateY(0);opacity:1;transition-delay:0.2s"
  }, Ad = { name: "1lqb9h0", styles: "opacity:1;pointer-events:all" };
  const Id = "true", Fd = "firstVideo";

  function Pd({ isReady: e }) {
    const [t, n] = Object(r.useState)(!1), { t: i } = rr();
    Object(r.useEffect)((() => {
      localStorage.getItem(Fd) !== Id ? n(!0) : n(!1)
    }), []);
    const o = Object(r.useCallback)((() => {
      localStorage.setItem(Fd, Id), n(!1)
    }), []);
    return Dt("div", {
      css: n => ((e, t) => At("position:fixed;top:0;left:0;width:100%;height:100%;background:", pn(e.colors.primaryDark, .5), ";z-index:9999;transition:all 0.3s ease;transform:translate3d(0, 0, 0);opacity:0;pointer-events:none;", t && Ad, " & .head{position:relative;& h3{margin:0;font-size:", e.sizes.hero3.size.mobile, ";line-height:", e.sizes.hero3.lineheight.mobile, ";padding-bottom:40px;}& .close-button{", Hn, ";position:absolute;top:7px;right:0;& svg{width:22px;height:auto;transform:translate3d(0, 0, 0) rotate(45deg);}@media (hover: hover){&:hover{& svg{transform:translate3d(0, 0, 0) rotate(135deg);}}}}}& .text{position:relative;padding-left:30px;& a{display:inline-block;text-decoration:underline;margin-top:10px;margin-bottom:40px;}& svg{position:absolute;top:3px;left:0;&.flash{width:20px;height:auto;}& polygon{stroke:", e.colors.primary, ";}}}& .container{max-width:560px;width:calc(100% - 40px);border-radius:12px;background:", e.colors.light, ";box-shadow:0px 0px 31px rgba(12, 20, 33, 0.04),0px 0px 20.8947px rgba(12, 20, 33, 0.032375),0px 6.58125px 13.5141px rgba(12, 20, 33, 0.027),0px 4.31641px 8.38574px rgba(12, 20, 33, 0.023125),0px 2.6px 5.0375px rgba(12, 20, 33, 0.02),0px 1.37109px 2.99707px rgba(12, 20, 33, 0.016875),0px 0.56875px 1.79219px rgba(12, 20, 33, 0.013),inset 0px 2px 1px #ffffff;position:absolute;top:50%;left:50%;padding:40px;transition:all 0.3s ease;transform:translate3d(0, 0, 0) translate(-50%, -50%) translateY(40px);opacity:0;", t && Ld, ";}", ""))(n, e && t)
    }, Dt("div", { className: "container" }, Dt("div", { className: "head" }, Dt("h3", null, Dt("span", null, i("恭喜")), " 🎉"), Dt("button", {
      className: "close-button",
      onClick: o
    }, Dt(to, null))), Dt("div", { className: "text" }, Dt(Ft, null), Dt("p", null, "你已经录制了你的第一个视频！ 播放您的录音打开", " ", Dt("strong", null, "视频播放器"), "从菜单或使用任何支持 WebM 的播放器。", Dt("br", null), " ", Dt("a", {
      href: "https://support.scre.io/en/article/how-to-play-screen-recordings-np3wpm/",
      target: "_blank",
      rel: "noreferrer"
    }, "更多信息"))), Dt("div", { className: "text" }, Dt(bi, null), Dt("p", null, " ", "使您的视频易于查找, 点击 ", Dt("strong", null, "优化"), " ", "按钮或激活从这 ", Dt("strong", null, "配置"), ". ", Dt("br", null), Dt("a", {
      href: "https://support.scre.io/en/article/how-to-record-seekable-videos-1dhb0eq/",
      target: "_blank",
      rel: "noreferrer"
    }, "更多信息"))), Dt(Md, { justifyContent: "flex-end" }, Dt(Gn, { fullWidth: !1, onClick: o }, i("继续")))))
  }

  let Bd, Rd;
  const zd = new Xo, _d = new Vi;
  let Nd = [];

  function Ud() {
    Nd.forEach((e => {
      e && e.getTracks().forEach((e => {
        e.stop()
      }))
    })), Nd = []
  }

  var Vd = { name: "bjn8wh", styles: "position:relative" };
  var Hd = e => {
    e && e instanceof Function && n.e(1).then(n.bind(null, 44)).then((({
      getCLS: t,
      getFID: n,
      getFCP: r,
      getLCP: i,
      getTTFB: o
    }) => {
      t(e), n(e), r(e), i(e), o(e)
    }))
  };
  const $d = {
    spacing: {
      maxWidth: "800px",
      maxWidthLimit: "1440px",
      paddingTopBody: { mobile: "76px", desktop: "76px" },
      marginContainer: { mobile: "20px", desktop: "20px" },
      marginRow: { default: "-10px", medium: "-30px", big: "-50px" },
      gutterCol: { default: "10px", medium: "30px", big: "50px" }
    },
    colors: {
      primaryLight: "#82BCFF",
      primary: "#0076FF",
      primaryDark: "#003B80",
      secondaryLight: "#7DD3FC",
      secondary: "#4656DA",
      secondaryDark: "#075985",
      tertiaryLight: "#FCA5A5",
      tertiary: "#EF4444",
      tertiaryDark: "#B91C1C",
      dark: "#111827",
      light: "#fff",
      background: "#EEF1F8",
      grayLight: "#E5E7EB",
      gray: "#626262",
      grayDark: "#4a4a4a",
      success: "#28a745",
      error: "#F34E55",
      warning: "#EEC00A",
      info: "#17a2b8"
    },
    fonts: {
      text: "'Inter', sans-serif",
      head: "'Inter', sans-serif",
      special: "'Inter', sans-serif",
      mono: "'Inter', monospace"
    },
    sizes: {
      hero1: { size: { mobile: "52px", desktop: "62px" }, lineheight: { mobile: "1.15", desktop: "1.15" } },
      hero2: { size: { mobile: "42px", desktop: "52px" }, lineheight: { mobile: "1.15", desktop: "1.15" } },
      hero3: { size: { mobile: "32px", desktop: "42px" }, lineheight: { mobile: "1.15", desktop: "1.15" } },
      h1: { size: { mobile: "38px", desktop: "40px" }, lineheight: { mobile: "1.2", desktop: "1.2" } },
      h2: { size: { mobile: "28px", desktop: "32px" }, lineheight: { mobile: "1.2", desktop: "1.2" } },
      h3: { size: { mobile: "24px", desktop: "28px" }, lineheight: { mobile: "1.2", desktop: "1.2" } },
      h4: { size: { mobile: "22px", desktop: "24px" }, lineheight: { mobile: "1.3", desktop: "1.3" } },
      h5: { size: { mobile: "18px", desktop: "20px" }, lineheight: { mobile: "1.4", desktop: "1.4" } },
      h6: { size: { mobile: "16px", desktop: "18px" }, lineheight: { mobile: "1.4", desktop: "1.4" } },
      eyebrow: { size: { mobile: "16px", desktop: "18px" }, lineheight: { mobile: "1.35", desktop: "1.15" } },
      subtitle: { size: { mobile: "18px", desktop: "20px" }, lineheight: { mobile: "1.35", desktop: "1.35" } },
      button: { size: { mobile: "12px", desktop: "14px" }, lineheight: { mobile: "1.2", desktop: "1.2" } },
      buttonBig: { size: { mobile: "16px", desktop: "18px" }, lineheight: { mobile: "1", desktop: "1.2" } },
      lead: { size: { mobile: "16px", desktop: "18px" }, lineheight: { mobile: "1.35", desktop: "1.35" } },
      input: { size: { mobile: "12px", desktop: "14px" }, lineheight: { mobile: "1.2", desktop: "1.2" } },
      inputBig: { size: { mobile: "16px", desktop: "18px" }, lineheight: { mobile: "1.2", desktop: "1.2" } },
      strong: { size: { mobile: "14px", desktop: "16px" }, lineheight: { mobile: "1.5", desktop: "1.5" } },
      text: { size: { mobile: "14px", desktop: "16px" }, lineheight: { mobile: "1.5", desktop: "1.5" } },
      small: { size: { mobile: "12px", desktop: "14px" }, lineheight: { mobile: "1.3", desktop: "1.3" } },
      blockquote: { size: { mobile: "16px", desktop: "18px" }, lineheight: { mobile: "1.5", desktop: "1.5" } }
    }
  }, Wd = Dt(Lt, {
    styles: At("@import url('#');{}html,body{margin:0;padding:0;min-height:100%;overflow-x:hidden;background:", $d.colors.background, ";}body{-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;font-family:", $d.fonts.text, ";font-size:", $d.sizes.text.size.mobile, ";line-height:", $d.sizes.text.lineheight.mobile, ";padding-top:", $d.spacing.paddingTopBody.mobile, ";padding-bottom:60px;color:", $d.colors.dark, ";margin:0;", Ln(Mn), "{font-size:", $d.sizes.text.size.desktop, ";line-height:", $d.sizes.text.lineheight.desktop, ";padding-top:", $d.spacing.paddingTopBody.desktop, ";}}*{box-sizing:border-box;&:before,&:after{box-sizing:border-box;}&::selection{background:", $d.colors.primary, ";color:", $d.colors.light, ";}}main{display:block;}hr{background:none;border:none;border-bottom:solid 1px ", $d.colors.grayLight, ";box-sizing:content-box;height:0;overflow:visible;margin:10px 0;}b,strong{font-weight:bolder;}pre,code,kbd,samp{font-family:monospace,monospace;}pre{border-radius:12px;}small{font-size:", $d.sizes.small.size.mobile, ";line-height:", $d.sizes.small.lineheight.mobile, ";", Ln(Mn), "{font-size:", $d.sizes.small.size.desktop, ";line-height:", $d.sizes.small.lineheight.desktop, ";}}blockquote{margin:10px 0;padding:0;font-size:", $d.sizes.blockquote.size.mobile, ";line-height:", $d.sizes.blockquote.lineheight.mobile, ";", Ln(Mn), "{font-size:", $d.sizes.blockquote.size.desktop, ";line-height:", $d.sizes.blockquote.lineheight.desktop, ";}}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}a,button{cursor:pointer;outline:none;text-decoration:none;transition:all 0.3s ease;}a{background-color:transparent;color:", $d.colors.grayDark, ";@media (hover: hover){&:hover{color:", $d.colors.primary, ";}}}p{margin:10px 0;& a{color:", $d.colors.primary, ";@media (hover: hover){&:hover{color:", $d.colors.primaryDark, ";}}}}blockquote,p,ol,ul{color:", $d.colors.gray, ";}figure{margin:0;}fieldset{appearance:none;border:none;}img,svg{transition:all 0.3s ease;& *{transition:all 0.3s ease;}}img{display:inline-block;max-width:100%;width:auto;height:auto;border-style:none;object-fit:contain;}strong,b{font-weight:700;color:", $d.colors.dark, ";}table{width:100%;border-collapse:collapse;& th,& td{text-align:left;border-bottom:solid 1px ", $d.colors.grayLight, ";padding:5px 20px 5px 0;white-space:nowrap;}& th{font-size:", $d.sizes.button.size.mobile, ";", Ln(Mn), "{font-size:", $d.sizes.button.size.desktop, ";}}& td{font-size:", $d.sizes.text.size.mobile, ";color:", $d.colors.gray, ";", Ln(Mn), "{font-size:", $d.sizes.text.size.desktop, ";}&:first-of-type{font-weight:600;color:", $d.colors.dark, ";}}}& #paypal-button-container{text-align:center;margin-bottom:-25px;position:relative;}& .busy{& .busy-button{pointer-events:none;opacity:0;}& .menu{pointer-events:none;opacity:0;transform:translate3d(0, 0, 0) translateX(280px);}}& .no-top{margin-top:0;}& .no-bottom{margin-bottom:0;}& .text-left{text-align:left;}& .text-center{text-align:center;}& .text-right{text-align:right;}", "")
  });
  var Zd = {
    name: "mr043o",
    styles: "width:100%;& div{display:flex;justify-content:center;padding-top:20px;padding-bottom:20px;& a{margin:auto 0;display:flex;line-height:1;& img{display:flex;}}}"
  };
  var qd = {
    name: "mr92h9",
    styles: "& span{width:0;&:before{transform:translate3d(0, 0, 0) translate(-10px, 12px) rotate(45deg);transition-delay:0.3s;}&:after{transform:translate3d(0, 0, 0) translate(-10px, -8px) rotate(-45deg);transition-delay:0.4s;}}"
  };
  var Xd = { name: "1q7upm6", styles: "pointer-events:all;transform:translate3d(0, 0, 0) translateX(0);opacity:1" };

  function Yd({ light: e }) {
    return Dt("svg", {
      xmlns: "http://www.w3.org/2000/svg",
      width: "0",
      height: "0",
      viewBox: "0 0 139 35"
    }, Dt("g", {
      fill: "none",
      fillRule: "evenodd"
    }, Dt("g", { transform: "translate(0 6.295)" }, Dt("path", {
      fill: e ? "#fff" : "#0076FF",
      d: "M5.08547009,5.40630342e-15 L25.0767569,5.40630342e-15 C27.8853845,5.40630342e-15 30.162227,2.27101938 30.162227,5.07246377 L30.162227,17.2843431 C30.162227,20.0857875 27.8853845,22.3568069 25.0767569,22.3568069 L5.08547009,22.3568069 C2.27684251,22.3568069 5.42016574e-15,20.0857875 5.42016574e-15,17.2843431 L5.42016574e-15,5.07246377 C5.42016574e-15,2.27101938 2.27684251,5.40630342e-15 5.08547009,5.40630342e-15 Z"
    }), Dt("path", {
      fill: e ? "#111827" : "#FFF",
      d: "M6.55883518,2.48408965 L23.6033918,2.48408965 C25.8502939,2.48408965 27.6717679,4.30090516 27.6717679,6.54206067 L27.6717679,15.8147462 C27.6717679,18.0559017 25.8502939,19.8727172 23.6033918,19.8727172 L6.55883518,19.8727172 C4.31193312,19.8727172 2.49045911,18.0559017 2.49045911,15.8147462 L2.49045911,6.54206067 C2.49045911,4.30090516 4.31193312,2.48408965 6.55883518,2.48408965 Z"
    }), Dt("ellipse", {
      cx: "15.219",
      cy: "11.316",
      fill: e ? "#fff" : "#4656DA",
      fillOpacity: e ? ".5" : "1",
      fillRule: "nonzero",
      rx: "5.258",
      ry: "5.244"
    }), Dt("ellipse", {
      cx: "15.219",
      cy: "11.316",
      fill: "#FFF",
      fillOpacity: e ? "1" : ".2",
      fillRule: "nonzero",
      rx: "2.49",
      ry: "2.484"
    })), Dt("g", {
      fillRule: "nonzero",
      transform: "translate(40.564 7.897)"
    }, Dt("path", {
      fill: e ? "#fff" : "#0076FF",
      d: "M7.66337404,18.8623094 C9.19485238,18.8623094 10.5034887,18.6409629 11.5892829,18.19827 C12.6750771,17.755577 13.5081175,17.1184581 14.0884043,16.2869132 C14.668691,15.4553683 14.9618255,14.4593092 14.9678078,13.2987357 C14.9618255,12.5629083 14.8361964,11.8988688 14.5909206,11.3066174 C14.3456448,10.714366 13.9852089,10.1909115 13.5096131,9.7362539 C13.0340173,9.28159627 12.4477483,8.88975318 11.750806,8.56072463 C11.0538637,8.23169608 10.2507349,7.96847324 9.34141964,7.77105611 L7.7620826,7.41211587 C7.34331899,7.32238081 6.96643175,7.21768991 6.63142086,7.09804317 C6.29640997,6.97839642 6.01075337,6.83930708 5.77445105,6.68077514 C5.53814872,6.5222432 5.35867861,6.33828633 5.23604069,6.12890453 C5.11340278,5.91952272 5.05806616,5.67723807 5.07003083,5.40205055 C5.07601317,5.06703966 5.17472173,4.76941839 5.36615653,4.50918671 C5.55759132,4.24895504 5.84474351,4.04405999 6.22761309,3.89450156 C6.61048268,3.74494313 7.08906966,3.67016391 7.66337404,3.67016391 C8.53081294,3.67016391 9.19933913,3.85412078 9.66895261,4.22203453 C10.1385661,4.58994827 10.4032845,5.10293369 10.4631079,5.76099079 L14.7165497,5.76099079 C14.704585,4.61836437 14.4084593,3.61333171 13.8281726,2.7458928 C13.2478859,1.8784539 12.4327924,1.20394537 11.3828922,0.722367225 C10.332992,0.240789075 9.09614381,0 7.67234754,0 C6.27846296,0 5.03712798,0.239293491 3.9483426,0.717880472 C2.85955721,1.19646745 2.00707415,1.86349806 1.39089341,2.71897229 C0.774712676,3.57444652 0.469613475,4.57050567 0.475595813,5.70714975 C0.469613475,7.10103433 0.924271108,8.20627114 1.83956871,9.02286018 C2.75486631,9.83944922 4.00816597,10.430205 5.59946768,10.7951276 L7.51979794,11.2438029 C8.18981972,11.3993437 8.74169033,11.5683447 9.17540978,11.750806 C9.60912923,11.9332673 9.93067986,12.1486314 10.1400617,12.3968984 C10.3494435,12.6451654 10.4571255,12.9427867 10.4631079,13.2897622 C10.4571255,13.6606671 10.34047,13.9896957 10.1131411,14.2768479 C9.88581233,14.5640001 9.56127053,14.7883377 9.13951576,14.9498608 C8.71776098,15.1113839 8.20776673,15.1921455 7.609533,15.1921455 C6.95745824,15.1921455 6.38464945,15.0904458 5.89110662,14.8870463 C5.3975638,14.6836468 5.01020746,14.38453 4.72903761,13.9896957 C4.44786776,13.5948614 4.28933582,13.1013186 4.2534418,12.5090672 L5.10133246e-15,12.5090672 C0.0179470118,13.9448282 0.343984393,15.1323221 0.978112143,16.0715491 C1.61223989,17.010776 2.50061698,17.7107095 3.64324339,18.1713494 C4.78586981,18.6319894 6.12591336,18.8623094 7.66337404,18.8623094 Z M25.1800883,18.8802564 C26.4423614,18.8802564 27.5625541,18.6888216 28.5406662,18.305952 C29.5187784,17.9230824 30.3488277,17.4071059 31.0308141,16.7580223 C31.7128006,16.1089387 32.2497153,15.3895626 32.6415584,14.5998941 C33.0334015,13.8102256 33.2682083,13.0085924 33.3459786,12.1949945 L28.8592257,12.168074 C28.7814553,12.610767 28.642366,13.0070968 28.4419577,13.3570635 C28.2415494,13.7070303 27.9873,14.003156 27.6792097,14.2454406 C27.3711193,14.4877253 27.0151702,14.6716821 26.6113625,14.7973112 C26.2075547,14.9229403 25.760375,14.9857549 25.2698233,14.9857549 C24.3964021,14.9857549 23.641132,14.7778686 23.0040131,14.3620962 C22.3668942,13.9463238 21.8733514,13.3271518 21.5233846,12.5045805 C21.1734179,11.6820091 20.9984345,10.660525 20.9984345,9.44012821 C20.9984345,8.2675901 21.1704267,7.26853978 21.5144111,6.44297724 C21.8583955,5.61741469 22.3519383,4.98627811 22.9950396,4.54956749 C23.6381408,4.11285687 24.4053756,3.89450156 25.2967439,3.89450156 C25.7992602,3.89450156 26.2584046,3.96479402 26.674177,4.10537895 C27.0899495,4.24596387 27.4503853,4.44786776 27.7554845,4.7110906 C28.0605837,4.97431344 28.3058595,5.29137731 28.491312,5.66228222 C28.6767644,6.03318713 28.7994023,6.44895957 28.8592257,6.90959954 L33.3459786,6.90959954 C33.2382966,5.80884948 32.9601179,4.83073734 32.5114426,3.97526311 C32.0627673,3.11978888 31.4794894,2.39742166 30.7616089,1.80816144 C30.0437285,1.21890122 29.2121836,0.770225923 28.2669743,0.462135554 C27.321765,0.154045185 26.292803,0 25.1800883,0 C23.5469102,0 22.0722641,0.364922573 20.7561499,1.09476772 C19.4400357,1.82461287 18.3961178,2.89246007 17.6243963,4.29830933 C16.8526748,5.70415858 16.4668141,7.41809821 16.4668141,9.44012821 C16.4668141,11.4561759 16.8466925,13.1671243 17.6064493,14.5729736 C18.3662061,15.9788228 19.4026461,17.0481656 20.7157691,17.7810019 C22.0288921,18.5138383 23.5169985,18.8802564 25.1800883,18.8802564 Z M39.7624661,18.6289982 L39.7623039,12.338941 L42.03756,12.338941 L45.3978278,18.6289982 L50.243521,18.6289982 L46.4319073,11.633925 L46.6009085,11.5537043 C47.4704973,11.1247988 48.1614573,10.5332952 48.6737884,9.77919353 L48.7808395,9.61511157 C49.3371969,8.72673449 49.6153756,7.64542703 49.6153756,6.37118919 C49.6153756,5.11489836 49.3431792,4.02760856 48.7987865,3.10931979 C48.2543938,2.19103102 47.4811767,1.48511523 46.4791353,0.991572402 C45.4770938,0.498029577 44.2881042,0.251258165 42.9121667,0.251258165 L35.3205807,0.251258165 L35.3205807,18.6289982 L39.7624661,18.6289982 Z M39.7624661,3.83168702 L41.9520015,3.83168702 C42.616041,3.83168702 43.1753895,3.92590883 43.6300471,4.11435245 C44.0847048,4.30279608 44.4286892,4.58396593 44.6620003,4.95786201 C44.8953115,5.33175809 45.011967,5.80286715 45.011967,6.37118919 C45.011967,6.93951123 44.8953115,7.40463795 44.6620003,7.76656936 C44.4286892,8.12850076 44.0862004,8.39770594 43.6345339,8.57418489 C43.1828674,8.75066384 42.6220233,8.83890331 41.9520015,8.83890331 L39.7623039,8.83913016 L39.7624661,3.83168702 Z M64.3054355,18.6289982 L64.3054355,15.0216489 L55.9331544,15.0216489 L55.9331544,11.2438029 L63.6503695,11.2438029 L63.6503695,7.62748001 L55.9331544,7.62748001 L55.9331544,3.85860754 L64.3054355,3.85860754 L64.3054355,0.251258165 L51.491269,0.251258165 L51.491269,18.6289982 L64.3054355,18.6289982 Z"
    }), Dt("path", {
      fill: e ? "#fff" : "#4656DA",
      d: "M88.5172466,0 C90.13846,0 91.5996458,0.369409326 92.9008042,1.10822798 C94.2019625,1.84704663 95.2309245,2.91938059 95.9876902,4.32522984 C96.7444559,5.7310791 97.1228387,7.43604522 97.1228387,9.44012821 C97.1228387,11.4442112 96.7444559,13.1491773 95.9876902,14.5550266 C95.2309245,15.9608758 94.2019625,17.0332098 92.9008042,17.7720284 C91.5996458,18.5108471 90.13846,18.8802564 88.5172466,18.8802564 C86.8840685,18.8802564 85.4183958,18.5093515 84.1202287,17.7675417 C82.8220615,17.0257319 81.7960906,15.9519023 81.0423161,14.5460531 C80.2885416,13.1402038 79.9116544,11.4382289 79.9116544,9.44012821 C79.9116544,7.43604522 80.2885416,5.7310791 81.0423161,4.32522984 C81.7960906,2.91938059 82.8220615,1.84704663 84.1202287,1.10822798 C85.4183958,0.369409326 86.8840685,0 88.5172466,0 Z M68.9003012,14.5729736 C69.4746056,14.5729736 69.9771219,14.7823554 70.4078502,15.201119 C70.8385785,15.6198826 71.0539426,16.1223989 71.0539426,16.708668 C71.0539426,17.1035022 70.9537385,17.4639381 70.7533302,17.7899754 C70.5529219,18.1160128 70.2911946,18.3762445 69.9681484,18.5706705 C69.6451022,18.7650964 69.2891531,18.8623094 68.9003012,18.8623094 C68.3080498,18.8623094 67.8010467,18.651432 67.379292,18.2296772 C66.9575372,17.8079225 66.7466598,17.3009194 66.7466598,16.708668 C66.7466598,16.1223989 66.9575372,15.6198826 67.379292,15.201119 C67.8010467,14.7823554 68.3080498,14.5729736 68.9003012,14.5729736 Z M77.5870856,0.251258165 L77.5870856,18.6289982 L73.7015576,18.6289982 L73.7015576,0.251258165 L77.5870856,0.251258165 Z M88.5172466,3.43685276 C87.5780196,3.43685276 86.7584394,3.66717274 86.0585059,4.12781271 C85.3585725,4.58845268 84.8156754,5.26445679 84.4298146,6.15582505 C84.0439539,7.0471933 83.8510235,8.14196102 83.8510235,9.44012821 C83.8510235,10.7382954 84.0439539,11.8330631 84.4298146,12.7244314 C84.8156754,13.6157996 85.3585725,14.2918037 86.0585059,14.7524437 C86.7584394,15.2130837 87.5780196,15.4434037 88.5172466,15.4434037 C89.4564735,15.4434037 90.2760537,15.2130837 90.9759872,14.7524437 C91.6759206,14.2918037 92.2188177,13.6157996 92.6046785,12.7244314 C92.9905392,11.8330631 93.1834696,10.7382954 93.1834696,9.44012821 C93.1834696,8.14196102 92.9905392,7.0471933 92.6046785,6.15582505 C92.2188177,5.26445679 91.6759206,4.58845268 90.9759872,4.12781271 C90.2760537,3.66717274 89.4564735,3.43685276 88.5172466,3.43685276 Z"
    }))))
  }

  function Gd() {
    return Dt("svg", {
      width: "24",
      height: "20",
      viewBox: "0 0 24 20",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M24 2.30755C23.1172 2.69927 22.1691 2.96408 21.1722 3.08311C22.1896 2.47386 22.969 1.50841 23.3371 0.359373C22.3706 0.933403 21.3129 1.33752 20.2098 1.55417C19.3122 0.597366 18.0322 0 16.6161 0C13.8978 0 11.6934 2.20358 11.6934 4.92338C11.6934 5.30874 11.7368 5.6847 11.8202 6.04566C7.72833 5.84001 4.1006 3.87996 1.67237 0.901641C1.24837 1.62903 1.00567 2.47475 1.00567 3.37709C1.00567 5.08498 1.87497 6.59187 3.19584 7.47457C2.41391 7.45034 1.64913 7.23928 0.965445 6.85903V6.92125C0.965445 9.3069 2.66228 11.2961 4.91473 11.7485C4.50096 11.8619 4.06673 11.9211 3.6175 11.9211C3.29987 11.9211 2.99172 11.8911 2.69069 11.8345C3.31722 13.7898 5.1355 15.2131 7.28933 15.2534C5.60431 16.5742 3.48112 17.3616 1.17509 17.3616C0.77791 17.3616 0.385365 17.3379 0 17.2915C2.17918 18.6888 4.7666 19.5045 7.54708 19.5045C16.6026 19.5045 21.5552 12.0024 21.5552 5.4964C21.5552 5.28281 21.5505 5.07081 21.5402 4.85957C22.5051 4.16164 23.338 3.29748 24 2.30755Z",
      fill: "white"
    }))
  }

  function Kd() {
    return Dt("svg", {
      width: "0",
      height: "0",
      viewBox: "0 0 20 23",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M12.0845 9.85547C11.4335 9.85547 10.9195 10.4035 10.9195 11.0858C10.9195 11.7681 11.4449 12.3162 12.0845 12.3162C12.7356 12.3162 13.2496 11.7681 13.2496 11.0858C13.2496 10.4035 12.7242 9.85547 12.0845 9.85547V9.85547ZM7.91548 9.85547C7.26442 9.85547 6.75043 10.4035 6.75043 11.0858C6.75043 11.7681 7.27584 12.3162 7.91548 12.3162C8.56653 12.3162 9.08053 11.7681 9.08053 11.0858C9.09195 10.4035 8.56653 9.85547 7.91548 9.85547Z",
      fill: "white"
    }), Dt("path", {
      d: "M17.6471 0H2.34152C1.05083 0 0 1.02861 0 2.29201V17.2739C0 18.5373 1.05083 19.566 2.34152 19.566H15.2941L14.6887 17.5199L16.1508 18.8392L17.5328 20.0803L20 22.171V2.29201C19.9886 1.02861 18.9377 0 17.6471 0ZM13.2381 14.4788C13.2381 14.4788 12.827 13.998 12.4843 13.5844C13.9806 13.1707 14.5517 12.2651 14.5517 12.2651C14.0834 12.5669 13.6379 12.7794 13.2381 12.9247C12.667 13.1595 12.1188 13.3048 11.582 13.4055C10.4854 13.6067 9.4803 13.5508 8.62364 13.3943C7.97259 13.2713 7.41291 13.1036 6.9446 12.9135C6.6819 12.8129 6.39634 12.6899 6.11079 12.5334C6.07653 12.511 6.04226 12.4999 6.008 12.4775C5.98515 12.4663 5.97373 12.4551 5.96231 12.4551C5.75671 12.3433 5.64249 12.2651 5.64249 12.2651C5.64249 12.2651 6.19075 13.1483 7.64135 13.5732C7.29869 13.9981 6.87607 14.49 6.87607 14.49C4.3518 14.4117 3.39235 12.8017 3.39235 12.8017C3.39235 9.23514 5.03712 6.33938 5.03712 6.33938C6.6819 5.14306 8.23529 5.1766 8.23529 5.1766L8.34951 5.31077C6.29355 5.88098 5.35694 6.76424 5.35694 6.76424C5.35694 6.76424 5.60822 6.63007 6.03084 6.45118C7.253 5.9257 8.22387 5.79153 8.62364 5.74681C8.69218 5.73564 8.74929 5.72445 8.81782 5.72445C9.51456 5.635 10.3027 5.61264 11.1251 5.70209C12.2102 5.82507 13.3752 6.13813 14.5631 6.76424C14.5631 6.76424 13.6608 5.9257 11.719 5.35549L11.8789 5.1766C11.8789 5.1766 13.4437 5.14306 15.0771 6.33938C15.0771 6.33938 16.7219 9.23514 16.7219 12.8017C16.7219 12.7906 15.7624 14.4006 13.2381 14.4788V14.4788Z",
      fill: "white"
    }))
  }

  function Jd() {
    return Dt("svg", {
      width: "24",
      height: "17",
      viewBox: "0 0 24 17",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M23.4985 2.64036C23.2225 1.60106 22.4092 0.782533 21.3766 0.504755C19.505 0 12 0 12 0C12 0 4.49503 0 2.62336 0.504755C1.59077 0.782577 0.777523 1.60106 0.501503 2.64036C0 4.52416 0 8.45454 0 8.45454C0 8.45454 0 12.3849 0.501503 14.2687C0.777523 15.308 1.59077 16.0924 2.62336 16.3702C4.49503 16.875 12 16.875 12 16.875C12 16.875 19.505 16.875 21.3766 16.3702C22.4092 16.0924 23.2225 15.308 23.4985 14.2687C24 12.3849 24 8.45454 24 8.45454C24 8.45454 24 4.52416 23.4985 2.64036V2.64036ZM9.54544 12.023V4.88605L15.8181 8.45463L9.54544 12.023V12.023Z",
      fill: "white"
    }))
  }

  function Qd() {
    return Dt("svg", {
      width: "16",
      height: "16",
      viewBox: "0 0 16 16",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M10.5 2H14V5.5M7 9L13.75 2.25M12 7V12.75C12 12.9142 11.9677 13.0767 11.9048 13.2284C11.842 13.38 11.75 13.5178 11.6339 13.6339C11.5178 13.75 11.38 13.842 11.2284 13.9048C11.0767 13.9677 10.9142 14 10.75 14H3.25C2.91848 14 2.60054 13.8683 2.36612 13.6339C2.1317 13.3995 2 13.0815 2 12.75V5.25C2 4.91848 2.1317 4.60054 2.36612 4.36612C2.60054 4.1317 2.91848 4 3.25 4H8.48375L12 7Z",
      stroke: "#0076FF",
      strokeWidth: "2",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }))
  }

  function eh() {
    return Dt("svg", {
      width: "120",
      height: "124",
      viewBox: "0 0 120 124",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M105.01 46.0821C107.122 46.0821 108.835 44.3683 108.835 42.2541C108.835 40.14 107.122 38.4261 105.01 38.4261C102.898 38.4261 101.186 40.14 101.186 42.2541C101.186 44.3683 102.898 46.0821 105.01 46.0821Z",
      fill: "#EAEEF9"
    }), Dt("path", {
      d: "M3.41657 66.7833C4.80621 66.7833 5.93274 65.6557 5.93274 64.2649C5.93274 62.874 4.80621 61.7464 3.41657 61.7464C2.02692 61.7464 0.900391 62.874 0.900391 64.2649C0.900391 65.6557 2.02692 66.7833 3.41657 66.7833Z",
      fill: "#EAEEF9"
    }), Dt("path", {
      d: "M14.983 112.06C16.3726 112.06 17.4991 110.932 17.4991 109.541C17.4991 108.151 16.3726 107.023 14.983 107.023C13.5933 107.023 12.4668 108.151 12.4668 109.541C12.4668 110.932 13.5933 112.06 14.983 112.06Z",
      fill: "#EAEEF9"
    }), Dt("path", {
      d: "M28.4326 112.06L63.7416 100.996V55.6344L28.4326 66.6131V112.06Z",
      fill: "#B7BFCD"
    }), Dt("path", {
      opacity: "0.4",
      d: "M99.0507 112.06L63.7417 100.996V55.6344L99.0507 66.6131V112.06Z",
      fill: "#6D7C9A"
    }), Dt("g", { opacity: "0.13" }, Dt("path", {
      d: "M28.4326 112.06L63.7416 100.996V55.6344L28.4326 66.6131V112.06Z",
      fill: "url(#paint0_linear)"
    }), Dt("path", {
      d: "M99.0506 112.06L63.7416 100.996V55.6344L99.0506 66.6131V112.06Z",
      fill: "url(#paint1_linear)"
    })), Dt("path", {
      d: "M63.7416 123.209L28.4326 112.145V66.7833L63.7416 77.8471V123.209Z",
      fill: "#EDF1F9"
    }), Dt("path", {
      d: "M63.7417 123.209L99.0507 112.145V66.7833L63.7417 77.8471V123.209Z",
      fill: "#DAE1ED"
    }), Dt("path", {
      opacity: "0.09",
      d: "M55.7416 115.209L28.4326 112.145V66.7833L63.7416 77.8471L55.7416 115.209Z",
      fill: "url(#paint2_linear)"
    }), Dt("path", {
      opacity: "0.2",
      d: "M71.7417 107.209L99.0507 112.145V66.7833L63.7417 77.8471L71.7417 107.209Z",
      fill: "url(#paint3_linear)"
    }), Dt("path", {
      d: "M63.7417 55.6344L47.1406 43.2088L11.2417 55.2939L28.4327 66.6131L63.7417 55.6344Z",
      fill: "#DAE1ED"
    }), Dt("path", {
      d: "M63.7417 55.6344L80.3428 43.2088L116.242 55.2939L99.0507 66.6131L63.7417 55.6344Z",
      fill: "#DAE1ED"
    }), Dt("path", {
      d: "M28.4327 66.7833L63.7417 77.8471L46.1293 89.0812L11.2417 77.5067L28.4327 66.7833Z",
      fill: "#EFF4FD"
    }), Dt("path", {
      d: "M99.0507 66.7833L63.7417 77.8471L81.3541 89.0812L116.242 77.5067L99.0507 66.7833Z",
      fill: "#EDF1F9"
    }), Dt("path", {
      d: "M73.5932 12.0856C78.5397 25.5101 80.0142 28.4929 80.4981 41.7208C80.312 44.7403 80.1966 48.0237 78.773 50.6675C76.8719 54.712 72.2219 57.5129 67.8285 57.5583C63.3026 57.6392 58.8655 54.8681 56.8684 50.595C55.4633 48.0016 55.508 44.4544 57.4354 42.0998C59.5307 39.8417 63.2169 39.2786 65.8686 40.6896C68.7855 42.0295 70.5265 44.8157 71.1714 47.7541C71.8162 50.6924 71.5329 53.8794 70.7457 56.777C69.0995 63.8245 67.736 64.1654 63.6987 76.0972",
      stroke: "#ABB5CC",
      strokeWidth: "2",
      strokeMiterlimit: "10",
      strokeDasharray: "4 4"
    }), Dt("path", {
      d: "M79.6136 4.98004C79.6021 6.95402 77.7651 8.16271 75.4356 7.53242C72.9829 7.11431 71.2469 6.68339 71.1352 4.92159C71.1914 3.11479 73.1627 2.40764 75.4701 1.6105C78.2366 0.511175 79.4571 3.05106 79.6136 4.98004Z",
      fill: "#DAE2EB"
    }), Dt("path", {
      d: "M63.7643 11.0164C65.0074 12.296 67.6281 12.6692 68.9052 10.7146C70.3055 8.54779 71.5042 6.97255 70.2164 5.52573C68.9733 4.2461 67.7636 5.10762 64.997 6.20694C62.7792 7.33845 62.3085 9.61459 63.7643 11.0164Z",
      fill: "#DAE2EB"
    }), Dt("path", {
      d: "M69.5 2.85108C70.6313 2.36892 71.9864 2.72265 72.5911 3.63574C72.8487 3.9251 73.151 4.38165 73.2405 4.71601C74.2034 6.96654 73.9007 9.19769 72.6014 9.72485C71.1789 10.4642 69.2191 9.19736 68.469 7.06902C68.2899 6.4003 68.2003 6.06594 68.066 5.56439C67.9206 4.34913 68.3687 3.33324 69.5 2.85108C69.668 2.80608 69.5 2.85108 69.5 2.85108Z",
      fill: "#989FB0"
    }), Dt("path", {
      d: "M17.499 39.0791H15.3089V36.889H13.4317V39.0791H11.2417V41.0188H13.4317V43.2088H15.3089V41.0188H17.499V39.0791Z",
      fill: "url(#paint4_linear)"
    }), Dt("path", {
      d: "M22.31 94.0262H20.12V91.8362H18.2428V94.0262H16.0527V95.9659H18.2428V98.156H20.12V95.9659H22.31V94.0262Z",
      fill: "url(#paint5_linear)"
    }), Dt("path", {
      d: "M118.048 94.1502L115.368 92.7973L116.721 90.1178L114.424 88.9582L113.071 91.6377L110.392 90.2849L109.194 92.6582L111.873 94.0111L110.52 96.6906L112.817 97.8502L114.17 95.1706L116.849 96.5235L118.048 94.1502Z",
      fill: "url(#paint6_linear)"
    }), Dt("defs", null, Dt("linearGradient", {
      id: "paint0_linear",
      x1: "52.5954",
      y1: "58.9197",
      x2: "47.7793",
      y2: "78.9695",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { offset: "0.00289017", stopColor: "#606673", stopOpacity: "0" }), Dt("stop", {
      offset: "1",
      stopColor: "#373C47"
    })), Dt("linearGradient", {
      id: "paint1_linear",
      x1: "52.5954",
      y1: "58.9197",
      x2: "47.7793",
      y2: "78.9695",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { offset: "0.00289017", stopColor: "#606673", stopOpacity: "0" }), Dt("stop", {
      offset: "1",
      stopColor: "#373C47"
    })), Dt("linearGradient", {
      id: "paint2_linear",
      x1: "36.3487",
      y1: "97.8286",
      x2: "44.8313",
      y2: "73.8705",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { offset: "0.00289017", stopColor: "#6C80AA", stopOpacity: "0" }), Dt("stop", {
      offset: "1",
      stopColor: "#5D6A86"
    })), Dt("linearGradient", {
      id: "paint3_linear",
      x1: "82.7975",
      y1: "104.373",
      x2: "83.4646",
      y2: "73.9704",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { offset: "0.00289017", stopColor: "#314F91", stopOpacity: "0" }), Dt("stop", {
      offset: "1",
      stopColor: "#324264"
    })), Dt("linearGradient", {
      id: "paint4_linear",
      x1: "14.3708",
      y1: "37.1086",
      x2: "14.3708",
      y2: "40.6558",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { stopColor: "#B0BACC" }), Dt("stop", {
      offset: "1",
      stopColor: "#969EAE"
    })), Dt("linearGradient", {
      id: "paint5_linear",
      x1: "19.1819",
      y1: "92.0557",
      x2: "19.1819",
      y2: "95.603",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { stopColor: "#B0BACC" }), Dt("stop", {
      offset: "1",
      stopColor: "#969EAE"
    })), Dt("linearGradient", {
      id: "paint6_linear",
      x1: "115.438",
      y1: "89.8069",
      x2: "113.246",
      y2: "94.147",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { stopColor: "#B0BACC" }), Dt("stop", { offset: "1", stopColor: "#969EAE" }))))
  }

  var th = {
    name: "i3ws0i",
    styles: "padding:20px 0;text-align:center;min-height:calc(100vh - 175px);display:flex;& .content{margin:auto;}& a{text-decoration:underline;}"
  };

  function nh() {
    const { t: e } = rr();
    return Dt("div", { css: e => th }, Dt("div", { className: "content" }, Dt(eh, null), Dt("p", null, e("No recordings found."), Dt("br", null), e("Start a "), " ", Dt(ae, { to: "/" }, e("new recording")), " ", e(" now."))))
  }

  function rh({ video: e }) {
    const { currentLanguage: t } = rr(),
      n = Intl.DateTimeFormat(t, { dateStyle: "short", timeStyle: "short" }).format(e.date);
    return Dt("div", { css: e => (e => At("border-bottom:solid 1px ", e.colors.grayLight, ";margin:0;overflow:hidden;&:last-of-type{border-bottom:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;& .myvideo-collapsable{border-bottom-left-radius:5px;border-bottom-right-radius:5px;}}& .myvideo-button{", Hn, ";padding:20px;width:100%;text-align:left;background:", e.colors.light, ";display:flex;position:relative;font-family:", e.fonts.text, ";& .myvideo-title{vertical-align:middle;font-size:", e.sizes.strong.size.desktop, ";color:", e.colors.dark, ";font-weight:700;text-align:left;margin:0;display:inline-block;}@media (hover: hover){&:hover{background:", pn(e.colors.primaryLight, .1), ";}}& svg{&:first-of-type{margin-right:15px;}& *{stroke:", e.colors.primary, ";vertical-align:middle;}}}", ""))(e) }, Dt(ae, { to: `/my-videos/${e.id}` }, Dt("button", { className: "myvideo-button" }, Dt(Ft, null), Dt("span", { className: "myvideo-title" }, n))))
  }

  function ih() {
    return Dt("svg", {
      width: "16",
      height: "16",
      viewBox: "0 0 16 16",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M7.625 12.5L3.125 8L7.625 3.5M3.75 8H12.875",
      stroke: "#0076FF",
      strokeWidth: "2",
      strokeLinecap: "round",
      strokeLinejoin: "round"
    }))
  }

  var oh = {
    name: "ri8vtm",
    styles: "transform:translate3d(0, 0, 0) translateX(0) scale(1);opacity:1;pointer-events:all"
  };
  let ah;
  !function (e) {
    e.UNSUPPORTED_FILE = "UNSUPPORTED_FILE"
  }(ah || (ah = {}));

  class lh extends i.a.PureComponent {
    constructor(...e) {
      super(...e), this.state = {
        dragging: !1,
        error: void 0
      }, this.dragCounter = 0, this.dropRef = i.a.createRef(), this.handleDrag = e => {
        e.preventDefault(), e.stopPropagation()
      }, this.handleDragIn = e => {
        if (e.preventDefault(), e.stopPropagation(), this.dragCounter++, e.dataTransfer && e.dataTransfer.items.length > 0) {
          let t;
          e.dataTransfer.items[0].type.startsWith(this.props.accept.replace("*", "")) || (t = ah.UNSUPPORTED_FILE), this.setState({
            dragging: !0,
            error: t
          })
        }
      }, this.handleDragOut = e => {
        e.preventDefault(), e.stopPropagation(), this.dragCounter--, 0 === this.dragCounter && this.setState({
          dragging: !1,
          error: void 0
        })
      }, this.handleDrop = e => {
        let t;
        e.preventDefault(), e.stopPropagation(), e.dataTransfer && e.dataTransfer.files.length > 0 && (e.dataTransfer.items[0].type.startsWith(this.props.accept.replace("*", "")) ? this.props.onDrop(e.dataTransfer.files) : (t = ah.UNSUPPORTED_FILE, this.props.onError(t)), e.dataTransfer.clearData(), this.dragCounter = 0), this.setState({
          dragging: !1,
          error: t
        })
      }
    }

    componentDidMount() {
      const e = this.dropRef.current;
      e && (e.addEventListener("dragenter", this.handleDragIn), e.addEventListener("dragleave", this.handleDragOut), e.addEventListener("dragover", this.handleDrag), e.addEventListener("drop", this.handleDrop))
    }

    componentWillUnmount() {
      const e = this.dropRef.current;
      e && (e.removeEventListener("dragenter", this.handleDragIn), e.removeEventListener("dragleave", this.handleDragOut), e.removeEventListener("dragover", this.handleDrag), e.removeEventListener("drop", this.handleDrop))
    }

    render() {
      return Dt("div", {
        className: this.props.className,
        ref: this.dropRef
      }, this.state.dragging && this.props.dragOverlay(this.state.error), this.props.children)
    }
  }

  function uh() {
    return Dt("svg", {
      width: "204",
      height: "171",
      viewBox: "0 0 204 171",
      fill: "none",
      xmlns: "http://www.w3.org/2000/svg"
    }, Dt("path", {
      d: "M98.0631 146.378C127.763 146.378 151.963 122.278 151.963 92.6785C151.963 62.9785 127.863 38.9785 98.0631 38.9785C68.2631 38.8785 44.1631 62.8785 44.1631 92.5785C44.1631 122.278 68.2631 146.378 98.0631 146.378Z",
      fill: "#EAEEF9"
    }), Dt("path", {
      d: "M88.5635 73.8785L87.1635 69.9785C86.8635 68.9785 85.8635 68.3785 84.8635 68.3785H60.2635C58.1635 68.3785 56.5635 69.9785 56.5635 72.0785V127.179V118.079H140.563V79.1785C140.563 77.0785 138.963 75.4785 136.863 75.4785H90.8635C89.8635 75.4785 88.9635 74.8785 88.5635 73.8785Z",
      fill: "url(#paint0_linear)"
    }), Dt("g", { filter: "url(#filter0_d)" }, Dt("path", {
      d: "M58.963 42.0785L75.763 71.2785C76.263 72.2785 75.963 73.5785 74.963 74.0785L46.363 90.0785C45.363 90.5785 44.063 90.2785 43.563 89.2785L22.463 51.4785C21.763 50.4785 22.263 49.1785 23.263 48.6785L44.063 37.0785L58.963 42.0785Z",
      fill: "white"
    })), Dt("path", {
      d: "M43.8626 45.1785L30.0626 52.8785C29.7626 53.0785 29.2626 52.9785 29.1626 52.5785C28.9626 52.2785 29.0626 51.7785 29.3626 51.6785L43.1626 44.0785C43.4626 43.8785 43.9626 43.9785 44.0626 44.2785C44.2626 44.5785 44.1626 45.0785 43.8626 45.1785Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M37.163 53.2785L31.863 56.1785C31.563 56.3785 31.163 56.2785 31.063 55.9785C30.863 55.6785 30.963 55.1785 31.263 55.0785L36.463 52.1785C36.763 51.9785 37.263 52.0785 37.363 52.3785C37.663 52.5785 37.563 53.0785 37.163 53.2785Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M44.0635 37.0785L48.6635 45.1785C49.3635 46.2785 50.8635 46.6785 51.9635 46.0785L59.2635 42.0785",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M60.6629 59.8785C59.7629 58.0785 58.5629 55.9785 57.0629 54.4785C56.2629 53.6785 55.2629 53.1785 54.0629 53.1785C52.8629 53.1785 51.7629 53.5785 50.5629 54.1785C48.4629 55.0785 46.5629 55.9785 44.6629 57.1785C42.9629 58.1785 40.9629 59.2785 39.6629 60.8785C37.9629 63.1785 38.8629 65.4785 40.0629 67.8785C40.9629 69.6785 42.1629 71.7785 43.6629 73.2785C44.8629 74.4785 46.4629 74.8785 48.0629 74.3785C50.1629 73.8785 54.0629 71.6785 55.8629 70.5785C57.4629 69.5785 59.3629 68.6785 60.5629 67.1785C62.8629 64.8785 62.0629 62.4785 60.6629 59.8785ZM46.6629 62.3785C46.3629 61.7785 46.5629 61.2785 47.3629 61.3785C49.4629 61.4785 51.4629 61.4785 53.4629 61.5785C54.2629 61.5785 54.4629 61.9785 54.1629 62.6785C53.1629 64.3785 52.1629 66.1785 51.1629 67.9785C50.7629 68.5785 50.2629 68.5785 49.9629 68.0785C49.6629 67.7785 46.9629 62.8785 46.6629 62.3785Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M122.563 93.0784L121.663 92.4785C121.463 92.2785 121.463 92.0785 121.663 91.8785C121.863 91.6785 122.063 91.6785 122.363 91.7785L123.263 92.3785C123.463 92.4785 123.463 92.7785 123.363 92.9785C123.063 93.1785 122.763 93.1784 122.563 93.0784Z",
      fill: "#E3EAF2"
    }), Dt("path", {
      d: "M120.163 91.1785L115.063 87.1785C114.863 87.0785 114.863 86.7785 114.963 86.5785C115.063 86.3785 115.363 86.3785 115.663 86.4785L120.763 90.4785C120.963 90.5785 120.963 90.8785 120.863 91.0785C120.663 91.2785 120.363 91.3785 120.163 91.1785Z",
      fill: "#E3EAF2"
    }), Dt("g", { filter: "url(#filter1_d)" }, Dt("path", {
      d: "M171.275 58.3272L155.069 82.7526C154.485 83.5304 153.356 83.802 152.578 83.2177L129.009 67.1678C128.231 66.5835 127.96 65.4548 128.544 64.677L149.775 33.5624C150.282 32.6288 151.488 32.513 152.266 33.0973L169.379 44.784L171.275 58.3272Z",
      fill: "white"
    })), Dt("path", {
      d: "M162.994 47.7756L151.638 40.0234C151.365 39.8676 151.249 39.4394 151.521 39.2062C151.677 38.9339 152.105 38.8175 152.3 39.0122L163.579 46.8032C163.851 46.9591 163.967 47.3872 163.773 47.5817C163.617 47.8539 163.189 47.9704 162.994 47.7756Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M154.085 45.7064L149.768 42.7069C149.496 42.551 149.419 42.2007 149.613 42.0063C149.769 41.734 150.197 41.6176 150.392 41.8123L154.67 44.734C154.942 44.8899 155.059 45.318 154.864 45.5124C154.825 45.8237 154.397 45.9401 154.085 45.7064Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M169.379 44.7841L164.86 51.5127C164.276 52.4851 164.547 53.8083 165.441 54.4316L171.392 58.5609",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M158.078 66.5669C159.129 65.1668 160.298 63.4166 160.883 61.666C161.195 60.7323 161.196 59.7594 160.73 58.8252C160.263 57.8909 159.525 57.1899 158.591 56.4888C157.074 55.2035 155.636 54.074 153.963 53.061C152.524 52.126 150.89 50.9963 149.14 50.6058C146.688 50.1759 145.247 51.7703 143.845 53.6371C142.793 55.0372 141.625 56.7874 141.04 58.538C140.572 59.9386 140.882 61.3397 141.893 62.3911C143.098 63.8318 146.326 66.0133 147.882 66.9873C149.282 67.8445 150.721 68.974 152.355 69.3255C155.04 70.2225 156.597 68.6671 158.078 66.5669ZM150.692 56.6385C151.042 56.1718 151.509 56.1333 151.742 56.795C152.48 58.4688 153.257 60.0259 153.957 61.6219C154.267 62.2447 154.034 62.5558 153.372 62.5942C151.66 62.4762 149.87 62.3971 148.08 62.3179C147.458 62.2396 147.263 61.8503 147.536 61.4225C147.653 61.0724 150.419 57.0664 150.692 56.6385Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M115.463 89.2785L109.763 88.6785C109.463 88.6785 109.263 88.3785 109.363 88.0785C109.363 87.7785 109.663 87.5785 110.063 87.6785L115.763 88.2785C116.063 88.2785 116.263 88.5785 116.163 88.8785C116.063 89.1785 115.763 89.4785 115.463 89.2785Z",
      fill: "url(#paint1_linear)"
    }), Dt("path", {
      d: "M142.263 94.6785L136.063 122.379C135.663 123.979 133.763 125.279 131.363 125.279H64.0634C61.7634 125.279 59.7634 124.079 59.3634 122.379L54.2634 99.6785C53.8634 97.9785 55.7634 96.3785 58.1634 96.3785H96.1634C97.3634 96.3785 98.2634 95.7785 98.6634 95.0785L99.7634 92.6785C100.163 91.8785 101.163 91.3785 102.263 91.3785H138.463C140.763 91.3785 142.563 92.9785 142.263 94.6785Z",
      fill: "white"
    }), Dt("g", { filter: "url(#filter2_d)" }, Dt("path", {
      d: "M147.163 90.9785L140.263 133.478C139.863 135.978 137.663 137.878 135.063 137.878H60.0633C57.4633 137.878 55.2633 136.078 54.8633 133.478L49.1633 98.5785C48.7633 95.9785 50.7633 93.4785 53.4633 93.4785H95.7633C97.0633 93.4785 98.1633 92.5785 98.5633 91.3785L99.7633 87.6785C100.163 86.4785 101.263 85.5785 102.563 85.5785H142.863C145.463 85.8785 147.563 88.2785 147.163 90.9785Z",
      fill: "url(#paint2_linear)"
    })), Dt("g", { filter: "url(#filter3_d)" }, Dt("path", {
      d: "M124.779 37.0208L121.211 70.5193C121.028 71.6222 120.021 72.4977 118.918 72.3145L86.3752 68.4518C85.2723 68.2687 84.3968 67.262 84.5799 66.159L89.7231 23.1753C89.7444 21.9549 90.913 21.1969 92.0159 21.3801L115.662 24.2187L124.779 37.0208Z",
      fill: "white"
    })), Dt("path", {
      d: "M110.74 30.6547L95.0492 28.7745C94.689 28.76 94.3432 28.3853 94.4974 28.0029C94.5119 27.6426 94.8866 27.2968 95.1881 27.3922L110.82 29.3534C111.18 29.3679 111.526 29.7426 111.431 30.0441C111.416 30.4044 111.041 30.7501 110.74 30.6547Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M100.559 33.2708L94.5666 32.5023C94.2063 32.4878 93.9415 32.1719 94.0369 31.8704C94.0514 31.5101 94.4261 31.1643 94.7276 31.2597L100.639 31.9694C100.999 31.9839 101.345 32.3586 101.25 32.6601C101.375 32.9983 101 33.344 100.559 33.2708Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M115.662 24.2187L114.624 33.4757C114.543 34.7771 115.522 35.9822 116.765 36.1432L125.022 37.1971",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M115.693 52.4215C116.023 50.4363 116.286 48.032 115.954 45.9368C115.777 44.8194 115.262 43.8271 114.291 43.1219C113.32 42.4167 112.195 42.0938 110.871 41.8741C108.643 41.3681 106.577 40.9796 104.334 40.8339C102.371 40.6439 100.107 40.3585 98.1146 40.8891C95.3874 41.7509 94.7639 44.1407 94.3244 46.7877C93.9947 48.773 93.7314 51.1773 94.0635 53.2725C94.3292 54.9486 95.3886 56.2125 96.977 56.7483C98.9699 57.5779 103.418 58.0899 105.521 58.2578C107.403 58.389 109.47 58.7775 111.322 58.2691C114.535 57.7599 115.298 55.3479 115.693 52.4215ZM102.897 46.2165C103.007 45.5548 103.462 45.2678 104.051 45.8188C105.691 47.1339 107.309 48.3093 108.869 49.5656C109.516 50.0357 109.443 50.4769 108.788 50.867C106.98 51.6547 105.113 52.5234 103.246 53.392C102.57 53.6424 102.166 53.3486 102.217 52.7677C102.15 52.3487 102.846 46.7974 102.897 46.2165Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M87.163 15.0785C86.763 15.2785 86.263 15.0785 86.063 14.6785L84.263 10.1785C84.063 9.77846 84.263 9.27846 84.663 9.07846C85.063 8.87846 85.563 9.07846 85.763 9.47846L87.563 13.9785C87.863 14.5785 87.663 14.9785 87.163 15.0785Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M83.863 19.4785C83.663 19.6785 83.463 19.7785 83.063 19.6785L78.363 18.7785C77.963 18.6785 77.563 18.2785 77.663 17.7785C77.763 17.3785 78.163 16.9785 78.663 17.1785L83.363 18.0785C83.763 18.1785 84.163 18.5785 84.063 19.0785C83.963 19.1785 83.963 19.3785 83.863 19.4785Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M93.3628 14.5785C93.2628 14.5785 93.1628 14.4785 92.9628 14.4785C92.6628 14.1785 92.5628 13.6785 92.8628 13.2785L95.7628 9.47847C96.0628 9.17847 96.5628 9.07847 96.9628 9.37847C97.2628 9.67847 97.3628 10.1785 97.0628 10.5785L94.1628 14.3785C93.8628 14.4785 93.5628 14.5785 93.3628 14.5785Z",
      fill: "#D5DDEA"
    }), Dt("path", {
      d: "M118.263 131.179C117.863 132.879 117.263 134.679 116.563 136.179C114.663 139.879 111.663 142.779 107.963 144.679C104.163 146.579 99.6632 147.379 95.1632 146.379C84.5632 144.179 77.7632 133.779 79.9632 123.179C82.1632 112.579 92.4632 105.679 103.063 107.979C106.863 108.779 110.163 110.679 112.963 113.279C117.663 117.979 119.663 124.779 118.263 131.179Z",
      fill: "url(#paint3_linear)"
    }), Dt("path", {
      d: "M105.363 125.479H100.863V120.979C100.863 120.079 100.163 119.279 99.1627 119.279C98.2627 119.279 97.4627 119.979 97.4627 120.979V125.479H92.9627C92.0627 125.479 91.2627 126.179 91.2627 127.179C91.2627 128.179 91.9627 128.879 92.9627 128.879H97.4627V133.379C97.4627 134.279 98.1627 135.079 99.1627 135.079C100.063 135.079 100.863 134.379 100.863 133.379V128.879H105.363C106.263 128.879 107.063 128.179 107.063 127.179C107.063 126.179 106.263 125.479 105.363 125.479Z",
      fill: "white"
    }), Dt("defs", null, Dt("filter", {
      id: "filter0_d",
      x: "0.136719",
      y: "26.0785",
      width: "97.8638",
      height: "97.2375",
      filterUnits: "userSpaceOnUse",
      colorInterpolationFilters: "sRGB"
    }, Dt("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), Dt("feColorMatrix", {
      in: "SourceAlpha",
      type: "matrix",
      values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
    }), Dt("feOffset", { dy: "11" }), Dt("feGaussianBlur", { stdDeviation: "11" }), Dt("feColorMatrix", {
      type: "matrix",
      values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0"
    }), Dt("feBlend", {
      mode: "normal",
      in2: "BackgroundImageFix",
      result: "effect1_dropShadow"
    }), Dt("feBlend", {
      mode: "normal",
      in: "SourceGraphic",
      in2: "effect1_dropShadow",
      result: "shape"
    })), Dt("filter", {
      id: "filter1_d",
      x: "97.4111",
      y: "16.7132",
      width: "106.377",
      height: "106.621",
      filterUnits: "userSpaceOnUse",
      colorInterpolationFilters: "sRGB"
    }, Dt("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), Dt("feColorMatrix", {
      in: "SourceAlpha",
      type: "matrix",
      values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
    }), Dt("feOffset", { dy: "11" }), Dt("feGaussianBlur", { stdDeviation: "11" }), Dt("feColorMatrix", {
      type: "matrix",
      values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0"
    }), Dt("feBlend", {
      mode: "normal",
      in2: "BackgroundImageFix",
      result: "effect1_dropShadow"
    }), Dt("feBlend", {
      mode: "normal",
      in: "SourceGraphic",
      in2: "effect1_dropShadow",
      result: "shape"
    })), Dt("filter", {
      id: "filter2_d",
      x: "27.1123",
      y: "74.5785",
      width: "142.1",
      height: "96.3",
      filterUnits: "userSpaceOnUse",
      colorInterpolationFilters: "sRGB"
    }, Dt("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), Dt("feColorMatrix", {
      in: "SourceAlpha",
      type: "matrix",
      values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
    }), Dt("feOffset", { dy: "11" }), Dt("feGaussianBlur", { stdDeviation: "11" }), Dt("feColorMatrix", {
      type: "matrix",
      values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0"
    }), Dt("feBlend", {
      mode: "normal",
      in2: "BackgroundImageFix",
      result: "effect1_dropShadow"
    }), Dt("feBlend", {
      mode: "normal",
      in: "SourceGraphic",
      in2: "effect1_dropShadow",
      result: "shape"
    })), Dt("filter", {
      id: "filter3_d",
      x: "44.6348",
      y: "0.332764",
      width: "118.868",
      height: "118.729",
      filterUnits: "userSpaceOnUse",
      colorInterpolationFilters: "sRGB"
    }, Dt("feFlood", { floodOpacity: "0", result: "BackgroundImageFix" }), Dt("feColorMatrix", {
      in: "SourceAlpha",
      type: "matrix",
      values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
    }), Dt("feOffset", { dy: "11" }), Dt("feGaussianBlur", { stdDeviation: "11" }), Dt("feColorMatrix", {
      type: "matrix",
      values: "0 0 0 0 0.397708 0 0 0 0 0.47749 0 0 0 0 0.575 0 0 0 0.27 0"
    }), Dt("feBlend", {
      mode: "normal",
      in2: "BackgroundImageFix",
      result: "effect1_dropShadow"
    }), Dt("feBlend", {
      mode: "normal",
      in: "SourceGraphic",
      in2: "effect1_dropShadow",
      result: "shape"
    })), Dt("linearGradient", {
      id: "paint0_linear",
      x1: "98.5701",
      y1: "70.4212",
      x2: "98.5701",
      y2: "103.425",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { stopColor: "#B0BACC" }), Dt("stop", {
      offset: "1",
      stopColor: "#969EAE"
    })), Dt("linearGradient", {
      id: "paint1_linear",
      x1: "109.232",
      y1: "88.0605",
      x2: "116.057",
      y2: "88.8476",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { stopColor: "#83A6FF" }), Dt("stop", {
      offset: "1",
      stopColor: "#5A78FF"
    })), Dt("linearGradient", {
      id: "paint2_linear",
      x1: "98.1304",
      y1: "84.3687",
      x2: "98.1304",
      y2: "138.442",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { stopColor: "#FDFEFF" }), Dt("stop", {
      offset: "0.9964",
      stopColor: "#ECF0F5"
    })), Dt("linearGradient", {
      id: "paint3_linear",
      x1: "99.1289",
      y1: "108.9",
      x2: "99.1289",
      y2: "130.945",
      gradientUnits: "userSpaceOnUse"
    }, Dt("stop", { stopColor: "#B0BACC" }), Dt("stop", { offset: "1", stopColor: "#969EAE" }))))
  }

  const sh = { name: "1aslf6p", styles: "position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)" };

  function ch({ error: e }) {
    const { t } = rr();
    return Dt("div", { className: "darg-overlay" }, e ? Dt("div", { className: "error" }, t(`dnd.error.${e}`)) : Dt("div", null, t("dnd.here")))
  }

  var fh = { name: "eivff4", styles: "display:none" };
  a.a.render(Dt(i.a.StrictMode, null, Wd, Dt((function (e) {
    var t = Object(r.useContext)(Et);
    return e.theme !== t && (t = Tt(t)(e.theme)), Object(r.createElement)(Et.Provider, { value: t }, e.children)
  }), { theme: $d }, Dt(r.Suspense, { fallback: Dt(sr, null, Dt(fi, null)) }, Dt((function ({ children: e }) {
    const [t, n] = Object(r.useState)({}), [i, o] = Object(r.useState)({}), [a, l] = Object(r.useState)(er),
      u = Object(r.useCallback)((e => t[e] || i[e] || e), [t, i]), s = Object(r.useCallback)((async () => {
        const e = await Qn(Jn);
        o(e)
      }), []), c = tr.read();
    Object(r.useEffect)((() => {
      c && (n(c), a === Jn ? o(c) : s())
    }), []);
    const f = Object(r.useCallback)((async e => {
      const t = await Qn(e);
      l(e), n(t), localStorage.setItem("i18nextLng", e)
    }), []), d = { currentLanguage: a, changeLanguage: f, t: u };
    return Dt(nr.Provider, { value: d }, e)
  }), null, Dt((function ({ children: e }) {
    const [t, n] = Object(r.useState)({ isValid: !1 }), i = Object(r.useCallback)((async () => {
      try {
        const e = await zi.get(Pi, Co);
        if (e) {
          const t = JSON.parse(atob(e)), { email: r, id: i, from: o, to: a, key: l } = t,
            u = `${r}-${i}-${o}-${a}`, s = await async function (e, t) {
              try {
                const n = (new TextEncoder).encode(e), r = Uint8Array.from(atob(t), (e => e.charCodeAt(0))),
                  i = {
                    public: {
                      key_ops: ["verify"],
                      ext: !0,
                      kty: "EC",
                      x: "Xd_ihr8CSS0XE29uiiv3xgtcqJjeNpRXwjkHhw9KV9M",
                      y: "KB83uZKsduFVAbZPbQDOG-XP1-367S5lTvmIJAHIy9M",
                      crv: "P-256"
                    }, algorithm: { name: "ECDSA", namedCurve: "P-256", hash: { name: "SHA-256" } }
                  }, { public: o, algorithm: a } = i, l = await xo.importKey("jwk", o, a, !1, o.key_ops);
                return xo.verify(a, l, r, n).then((function (e) {
                  return e
                })).catch((function (e) {
                  return console.error(e), !1
                }))
              } catch (e) {
                return Promise.reject(e)
              }
            }(u, l);
          if (u && s) {
            const e = new Date(a), t = new Date < e, i = s && t;
            n({ isValid: i, email: i ? r : void 0, to: i ? e : void 0 }), Eo = i
          }
        }
      } catch (e) {
        console.error("Error reading license", e), n({ isValid: !1, email: void 0, to: void 0 }), Eo = !1
      }
    }), []), o = Object(r.useCallback)((async e => {
      zi.put(Pi, btoa(JSON.stringify(e)), Co), i()
    }), [i]);
    Object(r.useEffect)((() => {
      i()
    }), [i]);
    const a = { license: t, read: i, write: o };
    return Dt(So.Provider, { value: a }, e)
  }), null, Dt(ee, null, Dt((function () {
    const [e, t] = Object(r.useState)(!1), { t: n } = rr(), o = Object(r.useRef)(null), a = Object(r.useRef)(null),
      l = Object(r.useCallback)((() => {
        t(!1)
      }), []);
    var u, s;
    return u = [o, a], s = e ? l : () => {
    }, Object(r.useEffect)((() => {
      function e(e) {
        u && u.map((t => t && t.current && t.current.contains(e.target))).every((e => !1 === e)) && s()
      }

      return document.addEventListener("mousedown", e), () => {
        document.removeEventListener("mousedown", e)
      }
    }), [u, s]), Dt(i.a.Fragment, null, Dt("div", {
      css: e => (e => At("position:fixed;width:100%;top:0;left:0;background:", pn(e.colors.light, .7), ";backdrop-filter:blur(10px);z-index:9998;border-bottom:solid 1px ", e.colors.grayLight, ";", ""))(e),
      ref: a
    }, Dt(sr, { css: e => Zd }, Dt("div", null, Dt(ae, {
      to: "/",
      onClick: () => t(!1)
    }, Dt(Yd, null)), Dt("button", {
      css: t => ((e, t) => At("appearance:none;background:none;border:none;margin:auto;width:24px;height:20px;position:absolute;right:20px;top:50%;transform:translateY(-50%);transition-delay:0.7s;cursor:pointer;overflow:visible;opacity:1;& span{display:block;width:100%;height:3px;background:", e.colors.dark, ";position:absolute;left:50%;top:50%;transform:translate3d(0, 0, 0) translate(-50%, -50%);transition:all 0.5s ease;&:before,&:after{content:'';display:block;height:3px;width:24px;background:", e.colors.dark, ";position:absolute;transition:all 0.5s ease;}&:before{top:-10px;}&:after{top:10px;}}", t && qd, ";", ""))(t, e),
      "aria-label": "Burger Menu",
      onClick: () => t(!e),
      className: "busy-button"
    }, Dt("span", null))))), Dt("div", {
      css: t => ((e, t) => At("position:fixed;top:", e.spacing.paddingTopBody.mobile, ";height:calc(100vh - ", e.spacing.paddingTopBody.mobile, ");border-left:solid 1px ", e.colors.grayLight, ";right:0;width:267px;background:", pn(e.colors.light, .9), ";backdrop-filter:blur(10px);z-index:9999;transition:all 0.3s ease;pointer-events:none;opacity:0;transform:translate3d(0, 0, 0) translateX(267px);display:flex;flex-wrap:wrap;", t && Xd, " ", Ln(Mn), "{top:", e.spacing.paddingTopBody.desktop, ";}& ul:not(.socials){list-style:none;margin:0;padding:0;width:100%;&.secondary{display:none;margin-top:auto;padding-bottom:57px;border-top:solid 1px ", e.colors.grayLight, ";", Ln(Mn), "{padding-bottom:61px;}& li{& a{padding:15px 20px;font-weight:400;display:flex;justify-content:space-between;}}}& li{display:block;border-bottom:solid 1px ", e.colors.grayLight, ";& button,& a{appearance:none;border:none;padding:20px;font-size:", e.sizes.text.size.mobile, ";font-weight:600;color:", e.colors.primary, ";background:", pn(e.colors.light, 0), ";transition:all 0.3s ease;width:100%;text-align:left;display:block;line-height:1;@media (hover: hover){&:hover{background:", pn(e.colors.primaryLight, .1), ";color:", e.colors.secondary, ";}}}}}", ""))(t, e),
      ref: o,
      className: "menu"
    }, Dt("ul", null, Dt("li", null, Dt(ae, {
      to: "/my-videos",
      onClick: () => t(!1)
    }, n("Latest Videos"))), Dt("li", null, Dt(ae, {
      to: "/player",
      onClick: () => t(!1)
    }, n("Video Player"))), Dt("li", null, Dt(ae, {
      to: "/settings",
      onClick: () => t(!1)
    }, n("Settings")))), Dt("ul", { className: "secondary" }, Dt("li", null, Dt("a", {
      href: "https://support.scre.io/",
      target: "_blank",
      rel: "noreferrer",
      onClick: () => t(!1)
    }, Dt("span", null, n("Help")), Dt(Qd, null))), Dt("li", null, Dt("a", {
      href: "https://scre.io/",
      target: "_blank",
      rel: "noreferrer",
      onClick: () => t(!1)
    }, Dt("span", null, n("About")), Dt(Qd, null))), Dt("li", null, Dt("a", {
      href: "https://scre.io/privacy-browser-extension",
      target: "_blank",
      rel: "noreferrer",
      onClick: () => t(!1)
    }, Dt("span", null, n("Privacy")), Dt(Qd, null)))), Dt("ul", {
      css: e => (e => At($n, ";display:flex;margin:0;justify-content:space-around;border-top:solid 1px ", e.colors.grayLight, ";position:absolute;bottom:0;left:0;width:100%;background:", e.colors.light, ";z-index:10;& li{border-right:solid 1px ", e.colors.grayLight, ";flex:1;& a{padding:17px 15px;display:inline-flex;height:100%;width:100%;background:transparent;", Ln(Mn), "{padding:19px 15px;}& svg{vertical-align:middle;margin:auto;& *{fill:", e.colors.primary, ";}}@media (hover: hover){&:hover{background:", pn(e.colors.primaryLight, .1), ";}}&:active{& svg{opacity:0.8;}}}}", ""))(e),
      className: "socials"
    }, Dt("li", null, Dt("a", {
      href: "https://twitter.com/scre_io",
      target: "_blank",
      rel: "noreferrer"
    }, Dt(Gd, null))), Dt("li", null, Dt("a", {
      href: "https://discord.gg/ApcPe8DJYh",
      target: "_blank",
      rel: "noreferrer"
    }, Dt(Kd, null))), Dt("li", null, Dt("a", {
      href: "https://www.youtube.com/channel/UCrt336PNsjULujhcJzFo-vA",
      target: "_blank",
      rel: "noreferrer"
    }, Dt(Jd, null))))))
  }), null), Dt((function () {
    const e = Q();
    let t = "/";
    return e.pathname.startsWith("/my-videos/") && (t = "/my-videos"), Dt("div", { css: t => ((e, t) => At("position:fixed;top:27px;left:20px;z-index:9998;transition:all 0.3s ease;transform:translate3d(0, 0, 0) translateX(-30px) scale(0.9);opacity:0;pointer-events:none;", t && oh, " & a{color:", e.colors.dark, ";line-height:1;display:flex;padding-right:20px;& svg{vertical-align:middle;margin-right:10px;transform:translate3d(0, 0, 0) translateY(-1px) translateX(-4px) translateX(0);width:24px;height:auto;}@media (hover: hover){&:hover{& svg{transform:translate3d(0, 0, 0) translateY(-1px) translateX(-4px) translateX(-4px);}}}}", ""))(t, "/" !== e.pathname) }, Dt(ae, { to: t }, Dt(ih, null)))
  }), null), Dt(K, null, Dt(W, { path: "/settings" }, Dt((function () {
    const e = Object(r.useContext)(So), {
      t,
      changeLanguage: n,
      currentLanguage: o
    } = rr(), [a, l] = Object(r.useState)(Vo.getCameraPosition()), [u, s] = Object(r.useState)(Vo.getCameraSize()), [c, f] = Object(r.useState)(Vo.getCameraShape()), [d, h] = Object(r.useState)(Vo.getCameraZoom()), [p, v] = Object(r.useState)(Vo.getCameraMirror()), [m, b] = Object(r.useState)(localStorage.getItem("preferredCameraId") || ""), [g, y] = Object(r.useState)(localStorage.getItem("preferredMicrophoneId") || ""), [w, k] = Object(r.useState)(localStorage.getItem("preferredCameraResolutionId") || ""), [x, C] = Object(r.useState)(Vo.getOptimizeVideo()), [S, E] = Object(r.useState)(), [T, M] = Object(r.useState)(), [O, j] = Object(r.useState)({}),
      D = Object(r.useCallback)((e => {
        localStorage.setItem("preferredCameraId", e), b(e)
      }), []), L = (Object(r.useCallback)((e => {
        localStorage.setItem("cameraPosition", e), l(e)
      }), []), Object(r.useCallback)((e => {
        localStorage.setItem("cameraSize", e), s(e)
      }), []), Object(r.useCallback)((e => {
        localStorage.setItem("cameraShape", e), f(e)
      }), []), Object(r.useCallback)((e => {
        localStorage.setItem("cameraZoom", e.toString()), h(e)
      }), []), Object(r.useCallback)((e => {
        localStorage.setItem("cameraMirror", e.toString()), v(e)
      }), []), Object(r.useCallback)((e => {
        localStorage.setItem("preferredMicrophoneId", e), y(e)
      }), [])), A = Object(r.useCallback)((e => {
        localStorage.setItem("preferredCameraResolutionId", e), k(e)
      }), []), I = Object(r.useCallback)((e => {
        localStorage.setItem("optimizeVideo", String(e)), C(e)
      }), []);
    Object(r.useEffect)((() => {
      Ui(), j({ permissionRequested: !0 });
      const e = navigator.mediaDevices.getUserMedia({ audio: !0 }).catch((() => null)),
        t = navigator.mediaDevices.getUserMedia({ video: !0 }).catch((() => null));
      Promise.all([e, t]).then((([e, t]) => {
        const n = null == e ? void 0 : e.getTracks(), r = null == t ? void 0 : t.getTracks(),
          i = !!(null == n ? void 0 : n.find((e => "audio" === e.kind))),
          o = !!(null == r ? void 0 : r.find((e => "video" === e.kind)));
        j(o && i ? { permissionRequested: !1, permissionState: Ao } : o || i ? {
          permissionRequested: !1,
          permissionState: Fo,
          hasVideo: o,
          hasAudio: i
        } : {
          permissionRequested: !1,
          permissionState: Io
        }), navigator.mediaDevices.enumerateDevices().then((e => {
          const t = e.filter((e => "videoinput" === e.kind)), n = e.filter((e => "audioinput" === e.kind));
          E(t), M(n)
        })).catch(console.error), null == n || n.forEach((e => e.stop())), null == r || r.forEach((e => e.stop()))
      }), (e => {
        "NotAllowedError" === e.name ? j({
          permissionRequested: !1,
          permissionState: Io
        }) : j({ permissionRequested: !1, permissionState: Po, errorDetail: e.name })
      }))
    }), []), Object(r.useEffect)((() => {
      f(Vo.getCameraShape()), s(Vo.getCameraSize()), h(Vo.getCameraZoom()), v(Vo.getCameraMirror())
    }), [e.license]);
    const { permissionRequested: F, permissionState: P, errorDetail: B, hasAudio: R, hasVideo: z } = O;
    return Dt(sr, null, Dt(vi, { size: 10 }), Dt(ko, null), Dt(Un, {
      title: t("Settings"),
      visible: !0,
      removeBodyFixedSpace: !0,
      noPadding: !0
    }, Dt(oi, { justifyContent: "flex-start" }, Dt(Mo, null, Dt(Oo, { title: Dt(i.a.Fragment, null, Dt(eo, null), Dt("span", null, t("Video"))) }, Dt(oi, null, Dt($r, {
      xs: 12,
      sm: 6
    }, Dt(bo, {
      label: t("Preferred camera"),
      onChange: e => D(e.target.value),
      id: "preferred-camera"
    }, null == S ? void 0 : S.map((e => Dt("option", {
      key: e.deviceId,
      value: e.deviceId,
      selected: e.deviceId === m
    }, e.label))))), Dt($r, { xs: 12, sm: 6 }, Dt(vi, { xs: 20, sm: "none" }), Dt(bo, {
      label: t("Camera resolution"),
      defaultValue: w,
      onChange: e => A(e.target.value),
      id: "camera-resolution"
    }, Bo.map((e => Dt("option", { key: e.id, value: e.id }, e.label))))), Dt($r, {
      xs: 12,
      sm: 6
    }, Dt(vi, { xs: 20 }), Dt(yo, {
      type: "checkbox",
      label: t("settings.optimizeVideo"),
      defaultChecked: x,
      onChange: e => I(e.target.checked),
      id: "optimize-video"
    })))), Dt(Oo, { title: Dt(i.a.Fragment, null, Dt(jo, null), Dt("span", null, t("Audio"))) }, Dt(bo, {
      label: t("Preferred microphone"),
      onChange: e => L(e.target.value),
      id: "preferred-microphone"
    }, null == T ? void 0 : T.map((e => Dt("option", {
      key: e.deviceId,
      value: e.deviceId,
      selected: e.deviceId === g
    }, e.label))))), Dt(Oo, { title: Dt(i.a.Fragment, null, Dt(Lo, null), Dt("span", null, t("Language"))) }, Dt(bo, {
      label: t("Language"),
      defaultValue: o,
      onChange: e => n(e.target.value),
      id: "language"
    }, Kn.map((e => Dt("option", {
      key: e.id,
      value: e.id
    }, e.label))))), Dt(Oo, { title: Dt(i.a.Fragment, null, Dt(Do, null), Dt("span", null, t("Recording Permission"))) }, F && Dt(Uo, { type: "info" }, t("Please grant permission")), P === Ao && Dt(Uo, { type: "success" }, t("Permission granted")), P === Fo && Dt(i.a.Fragment, null, Dt(Uo, {
      type: "info",
      showFixButton: !0
    }, t("Permission partially granted")), Dt(vi, { size: 10 }), Dt("hr", null), Dt(vi, { size: 10 }), Dt("div", { css: e => (e => At("font-weight:600;font-size:", e.sizes.button.size.desktop, ";display:flex;justify-content:space-between;& .audio,& .video{display:flex;border-radius:6px;flex:calc(50% - 10px);width:calc(50% - 10px);max-width:calc(50% - 10px);min-height:84px;padding:20px;& div{margin:auto;text-align:center;& svg{&.microphone{width:24px;height:auto;}&.camera{width:32px;height:auto;}}& span{display:block;color:", e.colors.light, ";padding:10px 0;}& .status{text-align:center;width:32px;height:32px;border:solid 1px ", pn(e.colors.light, .3), ";position:relative;border-radius:50%;margin:auto;padding:0;& svg{width:13px;height:auto;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);}}}&.error{background:", e.colors.error, ";}&.success{background:", e.colors.success, ";}& svg{& path,& g{stroke:", e.colors.light, ";}}}", ""))(e) }, Dt("div", { className: R ? "audio success" : "audio error" }, Dt("div", null, Dt(jo, null), Dt("span", null, t("Audio")), Dt("span", { className: "status" }, Dt(R ? go : To, null)))), Dt("div", { className: z ? "video success" : "video error" }, Dt("div", null, Dt(eo, null), Dt("span", null, t("Video")), Dt("span", { className: "status" }, Dt(z ? go : To, null)))))), P === Io && Dt(i.a.Fragment, null, Dt(vi, { size: 20 }), Dt(Uo, {
      type: "error",
      showFixButton: !0
    }, t("Permission denied"))), P === Po && Dt(i.a.Fragment, null, Dt(vi, { size: 20 }), Dt(Uo, {
      type: "error",
      showFixButton: !0
    }, t("Error getting media stream"), ": ", B))))), Dt("small", { css: e => (e => At("text-align:center;display:block;color:", e.colors.gray, ";padding:20px;border-top:solid 1px ", e.colors.grayLight, ";", ""))(e) }, "v3.3.0")), Dt(vi, { size: 10 }))
  }), null)), Dt(W, { path: "/my-videos/:id?" }, Dt(Gi, { key: "my-videos" }, Dt((function () {
    const { t: e } = rr(), { id: t } = (n = J(N).match) ? n.params : {};
    var n;
    const [o, a] = Object(r.useState)([]);
    Object(r.useEffect)((() => {
      Ui()
    }), []);
    const {
      videoUrl: l,
      loadVideos: u,
      download: s,
      destroy: c,
      videos: f,
      selectedVideo: d,
      setSelectedVideo: h,
      error: p
    } = Ki();
    Object(r.useEffect)((() => {
      u()
    }), [u]), Object(r.useEffect)((() => {
      h(t ? parseInt(t) : void 0)
    }), [t, h]);
    const v = Object(r.useCallback)((() => {
      s(), Ni(["video", "saved", "latest-videos"])
    }), [s]), m = Object(r.useCallback)((() => {
      c()
    }), [c]), b = Object(r.useCallback)((() => {
      a((t => [...t, {
        message: e("warnUnsaved"),
        className: "error",
        actions: [{ id: "trash", label: e("Delete"), callback: m }, { id: "dismiss", label: e("Cancel") }]
      }]))
    }), [m, e]);
    return Dt(i.a.Fragment, null, Dt(Ed, {
      notifications: o,
      dismiss: e => a((t => t.filter((t => t !== e))))
    }), Dt(sr, null, Dt(vi, { size: 10 }), Dt(Un, {
      title: e("Latest Videos"),
      visible: !d,
      noPadding: !0,
      removeBodyFixedSpace: !l
    }, f && f.map((e => Dt(rh, {
      key: e.id,
      video: e,
      setSelectedVideo: h
    }))), 0 === (null == f ? void 0 : f.length) && Dt(nh, null)), Dt(Qi, {
      controls: !0,
      visible: !!l,
      title: e("recordedVideo"),
      icon: "play",
      showOptimize: !0
    }), p && Dt("div", null, p), Dt(vi, { size: 10 })), Dt(Fn, { visible: !!l }, Dt(In, {
      onClick: v,
      icon: "save"
    }, e("Save")), Dt(In, { onClick: b, color: "red", icon: "trash" }, e("Delete"))))
  }), null))), Dt(W, { path: "/player" }, Dt(Gi, { key: "player" }, Dt((function () {
    const { t: e } = rr(), {
      download: t,
      setVideoBlob: n,
      unloadVideo: o,
      videoUrl: a
    } = Ki(), [l, u] = Object(r.useState)([]), s = Object(r.useCallback)((() => {
      u((t => [...t, { message: e("dnd.error.UNSUPPORTED_FILE"), actions: [{ id: "dismiss" }] }]))
    }), [e]);
    Object(r.useEffect)((() => {
      Ui()
    }), []);
    const c = Object(r.useCallback)((() => {
      t(), Ni(["video", "saved", "player"])
    }), [t]), f = Object(r.useCallback)((e => {
      o();
      const t = e[0];
      if (!t.type.startsWith("video/")) return void s();
      const r = new FileReader;
      r.addEventListener("load", (e => {
        if (console.log(e), !e || !e.target) return;
        const r = new Blob([new Uint8Array(e.target.result)], { type: t.type });
        n(r)
      })), r.readAsArrayBuffer(t)
    }), [o, n, s]), d = Object(r.useCallback)((e => {
      e.target.files && f(e.target.files)
    }), [f]), h = Object(r.useRef)(null), p = Object(r.useCallback)((() => {
      h.current && h.current.click()
    }), [h]);
    return Dt("div", null, Dt(sr, null, Dt(Ed, {
      notifications: l,
      dismiss: e => u((t => t.filter((t => t !== e))))
    }), Dt(vi, { size: 10 }), Dt(lh, {
      css: e => (e => At("& .darg-overlay{border:dashed 6px ", e.colors.primary, ";position:absolute;top:0;left:0;width:100%;height:100%;z-index:9999;background:", pn(e.colors.light, .1), ";backdrop-filter:blur(10px);& div{", sh, ";font-size:", e.sizes.h1.size.desktop, ";color:", e.colors.primary, ";font-weight:700;}}& .placeholder-wrapper{position:relative;margin:0 auto;transition:all 0.3s ease;padding-top:56.25%;width:calc(100%);& .placeholder-inner{background:", e.colors.light, ";position:absolute;left:0;top:0;width:100%;height:100%;border-radius:8px;border:solid 4px ", e.colors.primary, ";outline:none;transition:all 0.3s ease;cursor:pointer;box-shadow:inset 0 0 0 0 ", e.colors.primaryLight, ";@media (hover: hover){&:hover{background:", pn(e.colors.primaryLight, .1), ";box-shadow:inset 0 0 0 4px ", e.colors.primaryLight, ";}}&:focus{box-shadow:inset 0 0 0 4px ", e.colors.primaryLight, ";}&:active{box-shadow:inset 0 0 0 2px ", e.colors.primaryLight, ";}& .placeholder-content{", sh, ";width:100%;text-align:center;& p{padding:0 20px;}& svg{max-width:100px;height:auto;", Ln(En), "{max-width:initial;height:auto;}}}}}", ""))(e),
      onDrop: f,
      onError: s,
      accept: "video/*",
      dragOverlay: e => Dt(ch, { error: e })
    }, !a && Dt(Un, {
      visible: !0,
      title: Dt(i.a.Fragment, null, Dt(Ft, null), e("Video Player")),
      shrinkTitle: !0,
      noPadding: !0,
      fixed: !0
    }, Dt("div", {
      onClick: p,
      className: "placeholder-wrapper"
    }, Dt("div", { className: "placeholder-inner" }, Dt("div", { className: "placeholder-content" }, Dt(uh, null), Dt("p", null, e("dnd.description")))))), Dt(Qi, {
      controls: !0,
      visible: !!a,
      title: e("recordedVideo"),
      icon: "play",
      showOptimize: !0
    })), Dt(vi, { size: 10 })), Dt(Fn, { visible: !0 }, a && Dt(In, {
      onClick: c,
      icon: "save"
    }, e("Save")), Dt(In, { onClick: p, color: "white" }, e("Open"))), Dt("input", {
      css: fh,
      type: "file",
      ref: h,
      accept: "video/*",
      onChange: d
    }))
  }), null))), Dt(W, null, Dt(Gi, { key: "recorder" }, Dt((function () {
    const { t: e } = rr(), [t, n] = Object(r.useState)(), [i, o] = Object(r.useState)(), [a, l] = Object(r.useState)(), [u, s] = Object(r.useState)([]), [c, f] = Object(r.useState)([]), [d, h] = Object(r.useState)([]), {
      download: p,
      setVideoBlob: v,
      unloadVideo: m,
      videoUrl: b,
      optimize: g,
      isOptimized: y
    } = Ki();
    Object(r.useEffect)((() => {
      Ui(), _d.onVideoReady = e => {
        v(e), l(!1)
      }, _d.onRecordingStateChange = ({ isRecording: e, isPaused: t }) => {
        n(e), o(t)
      }
    }), [v]);
    const w = Vo.getOptimizeVideo();
    Object(r.useEffect)((() => {
      b && w && y === qi.RAW && g()
    }), [b, w, g, y]), Yo(t || !!b && !a);
    const k = Object(r.useCallback)((() => {
      _d.stop(), zd.stop(), Ud()
    }), []), x = Object(r.useCallback)((async t => {
      await new Promise((n => {
        const r = function () {
          const { width: e, height: t } = Vo.getCameraResolution(), n = Vo.getCamera(),
            r = { [Ho]: { width: e, height: t, deviceId: n } };
          return Wo.getUserMedia(r)
        }();
        r.then((e => {
          Nd.push(e)
        })), Zo(r).then((e => {
          e.onloadedmetadata = () => {
            "fullscreen" === t && zd.setResolution(e.videoWidth, e.videoHeight), zd.addTrack({
              id: "camera",
              source: e,
              level: 1, ...Wi(t, Vo.getCameraSize()),
              shape: Vo.getCameraShape(),
              zoom: Vo.getCameraZoom(),
              mirror: Vo.getCameraMirror()
            }), n(void 0)
          }
        })).catch((t => {
          s((t => [...t, {
            message: e("missingCam"),
            actions: [{
              id: "help",
              label: e("Help"),
              href: "https://support.scre.io/en/article/how-can-i-enable-camera-and-microphone-permission-idcffv"
            }, { id: "dismiss" }]
          }]))
        }))
      }))
    }), [e]), C = Object(r.useCallback)((async () => {
      const t = function () {
        const e = Vo.getMicrophone(), t = { [$o]: { deviceId: e } };
        return Wo.getUserMedia(t)
      }();
      t.then((e => {
        Nd.push(e);
        const t = e.getAudioTracks();
        if (0 === t.length) throw new Error("audioTracks length is zero");
        const n = new MediaStream;
        t.forEach((e => {
          n.addTrack(e)
        })), Bd.createMediaStreamSource(n).connect(Rd)
      })).catch((t => {
        s((t => [...t, {
          message: e("missingMic"),
          actions: [{
            id: "help",
            label: e("Help"),
            href: "https://support.scre.io/en/article/how-can-i-enable-camera-and-microphone-permission-idcffv"
          }, { id: "dismiss" }]
        }]))
      })), await t
    }), [e]), S = Object(r.useCallback)((async (t = !1) => {
      await new Promise(((n, r) => {
        const i = (o = { audio: t }, "chrome" in window && "desktopCapture" in chrome ? new Promise(((e, t) => {
          const n = ["screen", "window", "tab"];
          (null == o ? void 0 : o.audio) && n.push("audio"), chrome.desktopCapture.chooseDesktopMedia(n, (async function (n) {
            if (!n) return void t("Access to desktop media denied");
            const r = { video: { mandatory: { chromeMediaSource: "desktop", chromeMediaSourceId: n } } };
            (null == o ? void 0 : o.audio) && (r.audio = {
              mandatory: {
                chromeMediaSource: "desktop",
                chromeMediaSourceId: n
              }
            }), navigator.mediaDevices.getUserMedia(r).then(e)
          }))
        })) : Wo.getDisplayMedia({ [Ho]: !0, [$o]: null == o ? void 0 : o.audio }));
        var o;
        i.then((n => {
          if (Nd.push(n), n.getVideoTracks().forEach((e => {
            e.addEventListener("ended", (() => {
              k(), Zi()
            }))
          })), t) try {
            const e = n.getAudioTracks();
            if (0 === e.length) throw new Error("audioTracks length is zero");
            const t = new MediaStream;
            e.forEach((e => {
              t.addTrack(e)
            })), Bd.createMediaStreamSource(t).connect(Rd)
          } catch (t) {
            s((t => [...t, {
              message: e("missingAudio"),
              actions: [{
                id: "help",
                label: e("Help"),
                href: "https://support.scre.io/en/article/system-audio-track-not-found-5qfh44/"
              }, { id: "dismiss" }]
            }])), console.warn("Error getting system audio stream", t), r(t)
          }
        })), Zo(i).then((e => {
          e.onloadedmetadata = () => {
            zd.setResolution(e.videoWidth, e.videoHeight), zd.addTrack({
              id: "screen",
              source: e,
              level: 0
            }), n(void 0)
          }
        }))
      }))
    }), [k, e]), E = Object(r.useCallback)((() => {
      p(), l(!0), Ni(["video", "saved"]), document.body.className = ""
    }), [p]), T = Object(r.useCallback)((t => {
      t || a ? (f([]), h([]), m()) : s((t => [...t, {
        message: e("warnUnsaved"),
        className: "save",
        actions: [{ id: "save", label: e("Save"), callback: E }, {
          id: "delete",
          label: e("Dismiss"),
          callback: () => {
            T(!0)
          }
        }]
      }]))
    }), [a, E, e, m]), M = Object(r.useCallback)((async () => {
      zd.stop();
      try {
        const e = d.length > 0 && "none" !== d[0];
        e && function () {
          const e = window.AudioContext || window.webkitAudioContext || !1;
          Bd = new e, Rd = Bd.createMediaStreamDestination()
        }(), d.includes("microphone") && await C(), (null == c ? void 0 : c.includes("camera")) && await x(1 === c.length ? "fullscreen" : Vo.getCameraPosition()), (null == c ? void 0 : c.includes("screen")) && await S(d.includes("system"));
        try {
          Ni(["video", "setAudio", d.join(",")]), Ni(["video", "setVideo", c.join(",")])
        } catch {
        }
        const t = zd.start();
        setTimeout((() => {
          document.getElementById("videoPreview").srcObject = t, _d.start(t, e ? Rd.stream : void 0), document.body.className = "busy"
        }), 0)
      } catch (e) {
        Zi(), console.warn("Error getting media tracks", e), setTimeout((() => {
          zd.stop(), Ud()
        }), 1e3), document.body.className = ""
      }
    }), [d, c, C, x, S]),
      O = 2 === c.length ? "screenWithCamera" : c.includes("camera") ? "camera" : c.includes("screen") ? "screen" : "",
      j = 2 === d.length ? "systemWithMicrophone" : d[0], D = d.length ? 3 : c.length ? 2 : 1;
    return Dt("div", null, Dt(Ed, {
      notifications: u,
      dismiss: e => s((t => t.filter((t => t !== e))))
    }), Dt(Pd, { isReady: !!b }), Dt(sr, null, Dt(vi, { size: 10 }), !1, Dt(Dd, { hidden: D > 1 }), Dt(ko, null), Dt(Un, {
      title: e("titleVideo"),
      visible: 1 === D || D >= 2 && !b && !t
    }, Dt(vi, { xs: 5, sm: "none" }), Dt(oi, { justifyContent: "center" }, Dt($r, {
      xs: 12,
      sm: 4,
      textAlign: "center"
    }, Dt(Md, null, Dt(no, null)), Dt(vi, { size: 20 }), Dt(Gn, {
      frame: "screen" !== O,
      onClick: () => f(["screen"]),
      title: e("Screen")
    }, e("Screen")), Dt(vi, { xs: 20, sm: "none" })), Dt($r, {
      xs: 12,
      sm: 4,
      textAlign: "center"
    }, Dt(Md, null, Dt(no, null), " ", Dt(to, null), " ", Dt(eo, null)), Dt(vi, { size: 20 }), Dt("div", { css: Vd }, Dt(Gn, {
      frame: "screenWithCamera" !== O,
      onClick: () => f(["screen", "camera"]),
      title: e("screenWcam")
    }, e("screenWcam")), Dt(ir, null)), Dt(vi, { xs: 20, sm: "none" })), Dt($r, {
      xs: 12,
      sm: 4,
      textAlign: "center"
    }, Dt(Md, null, Dt(eo, null)), Dt(vi, { size: 20 }), Dt(Gn, {
      frame: "camera" !== O,
      onClick: () => f(["camera"]),
      title: e("Camera")
    }, e("Camera"))))), Dt(ro, {
      visible: !!t,
      title: e("screen" === O ? "Screen" : "screenWithCamera" === O ? "screenWcam" : "Camera"),
      icon: "screen" === O ? "screen" : "screenWithCamera" === O ? "both" : "camera"
    }), Dt(Qi, {
      controls: !0,
      visible: !!b,
      title: e("recordedVideo"),
      icon: "play",
      showOptimize: !0
    }), Dt(Un, {
      title: e("titleAudio"),
      visible: D >= 2 && !b && !t
    }, Dt(oi, { justifyContent: "center" }, Dt($r, {
      xs: 12,
      sm: 3,
      textAlign: "center"
    }, Dt(Md, null, Dt(Od, null)), Dt(vi, { size: 20 }), Dt(Gn, {
      frame: "none" !== j,
      onClick: () => h(["none"]),
      title: e("None")
    }, e("None")), Dt(vi, { xs: 20, sm: "none" })), Dt($r, {
      xs: 12,
      sm: 3,
      textAlign: "center"
    }, Dt(Md, null, Dt(jo, null)), Dt(vi, { size: 20 }), Dt(Gn, {
      frame: "microphone" !== j,
      onClick: () => h(["microphone"]),
      title: e("Microphone")
    }, e("Microphone")), Dt(vi, { xs: 20, sm: "none" })), Dt($r, {
      xs: 12,
      sm: 3,
      textAlign: "center"
    }, Dt(Md, null, Dt(jo, null), Dt(to, null), Dt(jd, null)), Dt(vi, { size: 20 }), Dt(Gn, {
      frame: "systemWithMicrophone" !== j,
      onClick: () => h(["system", "microphone"]),
      disabled: !c.includes("screen"),
      title: e("systemWmic")
    }, e("systemWmic_short")), Dt(vi, { xs: 20, sm: "none" })), Dt($r, {
      xs: 12,
      sm: 3,
      textAlign: "center"
    }, Dt(Md, null, Dt(jd, null)), Dt(vi, { size: 20 }), Dt(Gn, {
      frame: "system" !== j,
      onClick: () => h(["system"]),
      disabled: !c.includes("screen"),
      title: e("System")
    }, e("System"))))), Dt(vi, { size: 10 })), Dt(Fn, { visible: D >= 3 }, !b && !t && Dt(In, {
      onClick: M,
      icon: "record"
    }, e("startRecording")), !b && t && Dt(In, {
      onClick: k,
      color: "red",
      icon: "stop"
    }, e("Stop")), !b && t && Dt(In, {
      onClick: () => _d.togglePause(),
      icon: i ? "play" : "pause"
    }, e(i ? "Resume" : "Pause")), b && Dt(In, { onClick: E, icon: "save" }, e("Save")), b && Dt(In, {
      onClick: () => {
        T()
      }, color: "white"
    }, e("New"))))
  }), null)))))))))), document.getElementById("root")), Hd()
}]);